xiaohaizhao 1 год назад
Родитель
Сommit
0e7d82b8bc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packageA/activity/index.js

+ 1 - 1
packageA/activity/index.js

@@ -79,7 +79,7 @@ Page({
             console.log("市场活动", res)
             this.selectComponent('#ListBox').RefreshToComplete();
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.data || res.msg,
                 icon: "none"
             })
             res.data = res.data.map(v => {