From 4ed08ef97a9348c6cdbc56cfcc30caf0947b2663 Mon Sep 17 00:00:00 2001 From: DESKTOP-QHAFKU5\iceling Date: Mon, 9 Dec 2019 09:29:52 +0800 Subject: [PATCH] 预约时间界面onload属性判断是否undifind --- pages/user/my_service/beauty_deta.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/user/my_service/beauty_deta.js b/pages/user/my_service/beauty_deta.js index 6903b70..f16af73 100644 --- a/pages/user/my_service/beauty_deta.js +++ b/pages/user/my_service/beauty_deta.js @@ -47,8 +47,7 @@ Page({ itemId: options.itemId, modify: options.modify, hours: hours, - projectId: options.projectId, - StaffName: options.StaffName + projectId: options.projectId }) if (options.url != undefined) { th.setData({ @@ -65,6 +64,9 @@ Page({ iscos: options.iscos }) } + if (options.StaffName!=undefined){ + StaffName: options.StaffName + } th.query_beatea(); th.query_aweek(); }, -- libgit2 0.21.4