Jelajahi Sumber

修改提示

xiaohaizhao 2 tahun lalu
induk
melakukan
5aa6fcbd66
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packageA/setclient/detail.js

+ 1 - 1
packageA/setclient/detail.js

@@ -106,7 +106,7 @@ Page({
                 }).then(res => {
                 }).then(res => {
                     console.log("更改合作模式", res)
                     console.log("更改合作模式", res)
                     wx.showToast({
                     wx.showToast({
-                        title: res.msg != '成功' ? '修改成功' : res.msg,
+                        title: res.msg == '成功' ? '修改成功' : res.msg,
                         icon: "none"
                         icon: "none"
                     })
                     })
                     if (res.msg == '成功') that.getDetail()
                     if (res.msg == '成功') that.getDetail()