Prechádzať zdrojové kódy

Merge remote-tracking branch 'origin/jeffrey/feat/coupon-center' into skk/feat/welfare-mall

kk.shi 3 rokov pred
rodič
commit
43dafc61d9

+ 8 - 2
pages/welfareMall/activityInfo/activityInfo.js

@@ -21,8 +21,14 @@ Page({
   /**
    * 生命周期函数--监听页面加载
    */
-  onLoad: function (options) {
-    console.log(options);
+  onLoad: async function (options) {
+    let  userMobile = await Activity.getMobileCache();
+    if (userMobile.length !== 0) {
+      this.setData({
+        userMobile: userMobile,
+      })
+    }
+    console.log(userMobile);
     if(options.activityId){
     this.getActivityDetail(options.activityId)
     }

+ 1 - 1
project.config.json

@@ -42,7 +42,7 @@
     "useCompilerPlugins": false
   },
   "compileType": "miniprogram",
-  "libVersion": "2.21.0",
+  "libVersion": "2.19.6",
   "appid": "wxcc1cdb8babd3f62c",
   "projectname": "%E9%A3%9E%E7%A0%81",
   "debugOptions": {