fix(wechat): 协议页切后台暂停超时计时并全量映射技术文案
自动发布开发环境 Nacos 配置 / publish (push) Successful in 25s
环境分支晋级检查 / environment-promotion-source (pull_request_target) Successful in 5s

This commit is contained in:
2026-11-05 11:32:29 +08:00
parent 942718b8d9
commit 385c4b06ec
22 changed files with 214 additions and 59 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
const authApi = require('../../api/auth')
const { showErrorToast } = require('../../utils/toast')
const { showErrorToast, toUserMessage } = require('../../utils/toast')
Page({
data: {
@@ -54,7 +54,7 @@ Page({
shopSelectorItems: this.filterShops(shopOptions, this.data.shopKeyword)
})
} catch (error) {
this.setData({ shopOptions: [], shopSelectorItems: [], shopError: error.message || '门店列表加载失败' })
this.setData({ shopOptions: [], shopSelectorItems: [], shopError: toUserMessage(error, '门店列表加载失败') })
} finally {
this.setData({ shopLoading: false })
}