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