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 -1
View File
@@ -2,6 +2,7 @@ const dateUtil = require('../../utils/date')
const planningApi = require('../../api/planning')
const customersApi = require('../../api/customers')
const employeesApi = require('../../api/employees')
const { toUserMessage } = require('../../utils/toast')
const PREVIEW_SIZE = 10
@@ -64,7 +65,7 @@ Page({
} catch (error) {
this.setData({
previewRows: [],
previewError: error.message || '预览数据加载失败'
previewError: toUserMessage(error, '预览数据加载失败')
})
} finally {
this.setData({ previewLoading: false })