瀏覽代碼

供应商跳详情报错

huangb 7 年之前
父節點
當前提交
758e5c4252
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
             }