修复店务预约与小程序生产问题
This commit is contained in:
@@ -28,7 +28,7 @@ Page({
|
||||
avatarUploading: false
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
onShow() {
|
||||
this.loadEmployees()
|
||||
},
|
||||
|
||||
@@ -43,7 +43,7 @@ Page({
|
||||
name: item.nickname || item.name || item.artistName || `美甲师${index + 1}`,
|
||||
shortName: (item.nickname || item.name || '师').slice(-1),
|
||||
avatar: item.avatar || item.avatarUrl || '',
|
||||
color: EMPLOYEE_COLORS[index % EMPLOYEE_COLORS.length],
|
||||
color: item.color || EMPLOYEE_COLORS[index % EMPLOYEE_COLORS.length],
|
||||
monthOrders: item.monthOrders || item.orderCount || 0,
|
||||
monthAmount: item.monthAmount || item.turnover || 0,
|
||||
scheduleSummary: buildScheduleSummary(item)
|
||||
|
||||
Reference in New Issue
Block a user