This commit is contained in:
@@ -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 })
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user