Kaynağa Gözat

编辑保存新增提示

duanxiaoduan 6 ay önce
ebeveyn
işleme
96406f0592
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 2 2
      .env.development
  2. 1 1
      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/'

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

@@ -3316,7 +3316,7 @@ export default {
                 this.dialogFormVisible2 = false
                 this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
               } else {
-                failproccess(response, this.$notify)
+                this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
               }
             })
           }else{