Browse Source

处理询价后跳转

wangcz 7 years ago
parent
commit
da0ffdf02e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      pages/mobile/center/vendor/seek_btob_details.vue

+ 4 - 3
pages/mobile/center/vendor/seek_btob_details.vue

@@ -183,9 +183,10 @@
         this.$http.post(`/sale/inquiry/items/${this.$route.query.id}/reply?token=${this.token}`, this.listInfo).then(res => {
           this._iniFo('报价成功')
           // this.getInitInfo()
-          setInterval(function () {
-            // this.$router.push(`/mobile/center/vendor/seek_btob_details?id=${this.$route.query.id}&active=done`)
-            this.$router.go(-1)
+          let _this = this
+          setTimeout(function () {
+            // _this.$router.push(`/mobile/center/vendor/seek_btob_details?id=${this.$route.query.id}&active=done`)
+            _this.$router.go(-1)
           }, 500)
         })
       },