Przeglądaj źródła

修改活动删除异常弹窗问题

asd123a20 2 lat temu
rodzic
commit
1428ba1bda
2 zmienionych plików z 3 dodań i 5 usunięć
  1. 0 2
      src/views/activity/index.vue
  2. 3 3
      vue.config.js

+ 0 - 2
src/views/activity/index.vue

@@ -365,8 +365,6 @@ export default {
         this.getList();
         this.getList();
         this.$modal.msgSuccess("删除成功");
         this.$modal.msgSuccess("删除成功");
       }).catch((err) => {
       }).catch((err) => {
-        console.log(err);
-        this.$modal.msgSuccess(err.msg);
       });
       });
     },
     },
     handleEnd(row) {
     handleEnd(row) {

+ 3 - 3
vue.config.js

@@ -38,11 +38,11 @@ module.exports = {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
       [process.env.VUE_APP_BASE_API]: {
         // target: `http://fuyu.scapp.cn/prod-api/`,
         // target: `http://fuyu.scapp.cn/prod-api/`,
-        target: `https://fuyu.cc-lotus.info`, 
-        // target: `http://172.17.116.208:8080`,
+        // target: `https://fuyu.cc-lotus.info`, 
+        target: `http://172.17.116.208:8080`,
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
-          ['^' + process.env.VUE_APP_BASE_API]: '/prod-api/'
+          ['^' + process.env.VUE_APP_BASE_API]: ''
         }
         }
       },
       },
       '/dw': {
       '/dw': {