lilei 2 سال پیش
والد
کامیت
8a21daef22
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 0
      src/views/salesManagement/salesQuery/chooseCustomModal.vue
  2. 2 2
      vue.config.js

+ 2 - 0
src/views/salesManagement/salesQuery/chooseCustomModal.vue

@@ -101,6 +101,8 @@ export default {
         this.$refs.ruleForm.clearValidate()
         this.getDefaultAddress()
       } else {
+        this.form.buyerName = ''
+        this.form.buyerSn = undefined
         this.verifyFun(this.addressId)
       }
     },

+ 2 - 2
vue.config.js

@@ -107,9 +107,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        // target: 'http://192.168.2.113:8660/ocs-admin',
+        target: 'http://192.168.2.113:8660/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
+        // target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         changeOrigin: true,
         pathRewrite: {