Browse Source

合并江凤代码的冲突

Shan9312 10 months ago
parent
commit
5d28f36318
2 changed files with 4 additions and 4 deletions
  1. 2 2
      .env.development
  2. 2 2
      src/views/custom/subscribe/index.vue

+ 2 - 2
.env.development

@@ -7,9 +7,9 @@ ENV = 'development'
 #  VUE_APP_BASE_API = 'http://eam.modernfarming.cn:8000/'
 #  白少后台本地
 # 白少后台本地
-# VUE_APP_BASE_API = 'http://192.168.1.56:8082/'
+VUE_APP_BASE_API = 'http://192.168.1.56:8082/'
 # 线上测试
-VUE_APP_BASE_API = 'http://tmrwatch.cn:8082/'
+# VUE_APP_BASE_API = 'http://tmrwatch.cn:8082/'
 # VUE_APP_BASE_API = 'http://127.0.0.1:8082/'
 
 # VUE_APP_BASE_API = 'http://36.155.144.182:18090/'

+ 2 - 2
src/views/custom/subscribe/index.vue

@@ -3821,7 +3821,7 @@ export default {
                 duration: 2000
               })
             } else {
-              failproccess(response, this.$notify, 1)
+              this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
             }
           })
         } else {
@@ -6574,7 +6574,7 @@ export default {
                   duration: 2000
                 })
               } else {
-                failproccess(response, this.$notify)
+                this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
               }
             })
           } else {