Commit 4ed08ef97a9348c6cdbc56cfcc30caf0947b2663

Authored by DESKTOP-QHAFKU5\iceling
1 parent 2ee44632

预约时间界面onload属性判断是否undifind

pages/user/my_service/beauty_deta.js
... ... @@ -47,8 +47,7 @@ Page({
47 47 itemId: options.itemId,
48 48 modify: options.modify,
49 49 hours: hours,
50   - projectId: options.projectId,
51   - StaffName: options.StaffName
  50 + projectId: options.projectId
52 51 })
53 52 if (options.url != undefined) {
54 53 th.setData({
... ... @@ -65,6 +64,9 @@ Page({
65 64 iscos: options.iscos
66 65 })
67 66 }
  67 + if (options.StaffName!=undefined){
  68 + StaffName: options.StaffName
  69 + }
68 70 th.query_beatea();
69 71 th.query_aweek();
70 72 },
... ...