Commit b0629f00 by Jaxon

refactor: 分包大小超过限制. 删部分注释

1 parent c4fdc9b2
......@@ -351,10 +351,6 @@ Page({
},
async changeTabBar(e) {
// let { pageShow } = this.data,
// wx.__HAS_NOREPORT_MODAL = false
// wx.__HAS_NOTARGET_MODAL = false
// console.log(e.detail)
wx.__HAS_SHOW_MODAL = false;
let tabIndex = e.detail;
// console.log(pageShow[tabIndex])
......@@ -424,7 +420,6 @@ Page({
let flag = dateStaffPop?.[sceneType]?.[merchantId];
console.log(flag, "flag", dateStaffPop?.[sceneType], dateStaffPop?.[sceneType]?.[merchantId]);
// let num = 0
// 当天已查询过
if (dayBoolean && flag) {
// num = dateStaffPop?.num || 0
// num = num + 1
......@@ -517,19 +512,11 @@ Page({
},
setTime() {
let _this = this;
time = setTimeout(() => {
// console.log(_this.getWaitOrder)
// 2025-8月版本,隐藏补录入口
// _this.getWaitOrder();
}, 10 * 1000);
time = setTimeout(() => {}, 10 * 1000);
},
// 10s轮询一次待补录
getWaitOrder() {
let { isStaff, mode } = this.data;
// console.log('isStaff', isStaff)
// let thisPage = wx.$router.getPageInstance()
// console.log(thisPage.route, ' thisPage.route')
// thisPage.route == 'tabIndex/pages/index/index' &&
time && clearTimeout(time); //解决切换门店时 需要清除计时器
if (isStaff && mode) {
waitinputorder()
......@@ -579,11 +566,9 @@ Page({
},
});
}
if (dialogParams.type === ServerCenterEnum.case) {
wx.$router.go("tabWorkOrder.caseDetail", { caseId: noticeItem.id });
}
if (dialogParams.type === ServerCenterEnum.companyNotice) {
wx.$router.go("tabWorkOrder.companyNoticeDetail", { id: noticeItem.id });
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!