提交 Salon 小程序现有调整

This commit is contained in:
2026-10-20 18:02:49 +08:00
parent 527754af02
commit 68533738e0
34 changed files with 98 additions and 95 deletions
@@ -75,7 +75,7 @@ Page({
const password = String(form.password || '').trim()
const wechatId = String(form.wechatId || '').trim()
if (!nickname || !phone || !account || !password || !wechatId) {
wx.showToast({ title: '请补全员工信息', icon: 'none' })
wx.showToast({ title: '请补全美甲师信息', icon: 'none' })
return
}
if (!/^1[3-9]\d{9}$/.test(phone)) {
@@ -137,7 +137,7 @@ Page({
eventChannel.emit('employeeCreated', { ...employee, autoSelect, scheduleSaved })
}
this.setData({ onboardingVisible: false })
wx.showToast({ title: scheduleSaved ? '排班已保存' : '员工已新增', icon: 'success' })
wx.showToast({ title: scheduleSaved ? '排班已保存' : '美甲师已新增', icon: 'success' })
setTimeout(() => wx.navigateBack(), 300)
}
})