kk.shi hace 3 años
padre
commit
3cec2786b5
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      pages/welfareMall/staff/isStaff.js

+ 4 - 2
pages/welfareMall/staff/isStaff.js

@@ -15,7 +15,9 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
-    wx.hideShareMenu();
+   wx.hideShareMenu();
+   let staffInfo = JSON.parse(options.resStaff);
+   console.log(staffInfo)
     this.setData({
       isLogin: getMobileCache() != ''
     })
@@ -84,7 +86,7 @@ Page({
     })
   },
   toStaff(e) {
-    const url = "../staff/staff"
+    const url = "../staffManage/staffManage"
     wx.navigateTo({
         url
     })