浏览代码

抽奖页面

DESKTOP-O04BTUJ\muzen 3 年之前
父节点
当前提交
b02f8d4868
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/pages/lottery/index.vue

+ 5 - 0
src/pages/lottery/index.vue

@@ -87,6 +87,10 @@ export default {
     // this.statusBarHeight = uni.getWindowInfo().statusBarHeight + 'px'
     this.statusBarHeight = '44rpx'
     this.getList()
+    this.setUserInfo()
+    window['setUserInfo'] = res => {
+      this.setUserInfo(res)
+    }
   },
   methods: {
     getUser(){
@@ -94,6 +98,7 @@ export default {
     },
 
     setUserInfo(e){
+      console.log(e);
       this.data = e
     },