Przeglądaj źródła

供应商跳详情报错

huangb 7 lat temu
rodzic
commit
758e5c4252
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      components/supplier/merchant.vue

+ 2 - 2
components/supplier/merchant.vue

@@ -108,10 +108,10 @@
       },
       // 判断是否有有效物料信息
       isVaildSupplier (id) {
-        this.$http.get('vendor/introduction/product/count', {params: {vendUU: id}})
+        this.$http.get('/vendor/introduction/product/count', {params: {vendUU: id}})
           .then(res => {
             if (res.data.count !== 0) {
-              this.$router.push('supplier/' + id)
+              this.$router.push('/supplier/' + id)
             } else {
               this.hasDialog = true
             }