Browse Source

上传BOM求购新开页改为当前页

yangc 7 years ago
parent
commit
52fa784a81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/applyPurchase/PublishApply.vue

+ 1 - 1
components/applyPurchase/PublishApply.vue

@@ -404,7 +404,7 @@
         if (!this.user.logged) {
           this.$router.push('/auth/login?returnUrl=' + window.location.href)
         } else if (data.success) {
-          window.open('/applyPurchase/' + data.data)
+          window.location.href = '/applyPurchase/' + data.data
         } else {
           this.$message.error(data.message)
         }