Selaa lähdekoodia

提示不显示的bug

695593266@qq.com 10 kuukautta sitten
vanhempi
commit
ee93b8cd4b
2 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 4 4
      src/components/processSubmitDialog/processSubmitDialog.vue
  2. 2 2
      vue.config.js

+ 4 - 4
src/components/processSubmitDialog/processSubmitDialog.vue

@@ -431,9 +431,9 @@
         });
         await processInstanceCreateAPI(this.form)
           .then((res) => {
-            console.lof(res, 'res');
-            this.$message('提交审核成功');
+            console.log(res, 'res');
             this.loading.close();
+            this.$message('提交成功');
             this.$emit('reload');
             this.cancel();
           })
@@ -455,9 +455,9 @@
         };
         await this[this.apiFunName](params)
           .then((res) => {
-            console.lof(res, 'res');
-            this.$message('提交审核成功');
+            console.log(res, 'res');
             this.loading.close();
+            this.$message('提交成功');
             this.$emit('reload');
             this.cancel();
           })

+ 2 - 2
vue.config.js

@@ -35,10 +35,10 @@ module.exports = {
         // target: 'http://192.168.1.105:18086',
         // target: 'http://192.168.1.158:18086',
         // target: 'http://192.168.1.176:18086',
-        target: 'http://192.168.1.251:18086',
+        // target: 'http://192.168.1.251:18086',
         // target: 'http://192.168.1.125:18086',
         // target: 'http://192.168.1.116:18086',
-        // target: 'http://192.168.1.251:18186',
+        target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.251:18087',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {