Explorar o código

修改提示语(2475)

zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
41e3b75b68
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/components/diagBase/AddDiagBase.vue

+ 3 - 3
src/components/diagBase/AddDiagBase.vue

@@ -522,7 +522,7 @@
                    this.id = res.data.data
                    this.warning('临时保存成功','success')
                 }else {
-                    this.warning(res.msg)
+                    this.warning(res.data.msg)
                 }
             })
         },
@@ -804,7 +804,7 @@
                     
                 } else {
                     
-                    this.warning(res.msg)
+                    this.warning(res.data.msg)
                     loading.close()
                     return
                 }
@@ -858,7 +858,7 @@
                         this.hasQuestion = data.hasQuestion
                     } else {
                         this.hasQuestion = 1
-                        this.warning(res.msg)
+                        this.warning(res.data.msg)
                     }
                     
                     loading.close()