小程序剩余原生弹窗统一接入 action-modal
自动发布开发环境 Nacos 配置 / publish (push) Successful in 25s

This commit is contained in:
2026-11-07 00:50:04 +08:00
parent 1482bda1fa
commit 5fae5163ff
14 changed files with 116 additions and 133 deletions
@@ -485,17 +485,15 @@ Page({
remark: '新建美甲师默认全年全天排班,预约仍受门店营业时间限制,可在排班设置中调整'
}).then(() => {
this.finishCreated(this.data.pickerMode, true)
}).catch(error => {
wx.showModal({
}).catch(async error => {
const result = await showActionModal(this, {
title: '默认排班设置失败',
content: toUserMessage(error, '未设置排班前,该美甲师暂不可预约。请重试或返回排班设置。'),
confirmText: '重试',
cancelText: '稍后设置',
success: result => {
if (result.confirm) this.skipFirstSchedule()
else this.setData({ savingDefaultSchedule: false })
}
cancelText: '稍后设置'
})
if (result.confirm) this.skipFirstSchedule()
else this.setData({ savingDefaultSchedule: false })
}).finally(() => {
if (this.data.onboardingVisible) this.setData({ savingDefaultSchedule: false })
})