Browse Source

fix:去掉测试代码

magic v 4 years ago
parent
commit
abace2f9bb
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/pages/FormVolume/mixins/index.js

+ 4 - 5
src/pages/FormVolume/mixins/index.js

@@ -39,7 +39,6 @@ export default {
   },
   methods: {
     vueWatchRoute () {
-      this.btnOpenSuccess(() => this.btnLinkBack())
       this.inQuery()
       this.inData()
     },
@@ -155,10 +154,10 @@ export default {
     },
     btnLinkBack() {
       clearInterval(this.codeMess.t)
-      // let { go, replace } = this.$route.query
-      // replace
-      //   ? location.replace(replace)
-      //   : this.$router.go(go || -1)
+      let { go, replace } = this.$route.query
+      replace
+        ? location.replace(replace)
+        : this.$router.go(go || -1)
     }
   }
 }