Commit b266b6f8 authored by youjie's avatar youjie

no message

parent ae3fa07c
......@@ -214,6 +214,7 @@
} = getCurrentInstance();
let data = reactive({
msg: {
UnionId:'',
pageIndex: 1,
pageSize: 10,
},
......@@ -307,6 +308,7 @@
};
},
onLoad(options) {
this.msg.UnionId = uni.getStorageSync('wxUserAuthInfo').unionid
// uni.setNavigationBarTitle({
// title: this.pageTitle
// });
......
......@@ -226,6 +226,7 @@
proxy
} = getCurrentInstance();
let data = reactive({
UnionId:'',
QRcodeImg:'',
showPopup:false,
colors:['#9ADBC5','#87DDEA','#FE8D6F','#F986AA','#FDC453'],
......@@ -287,7 +288,9 @@
},
async getData() {
uni.showLoading()
let res = await GetMyCenterInfo({});
let res = await GetMyCenterInfo({
UnionId: data.UnionId
});
if (res) {
uni.hideLoading()
data.pageData = res.Data;
......@@ -325,6 +328,9 @@
...methods
};
},
onLoad(options) {
this.UnionId = uni.getStorageSync('wxUserAuthInfo').unionid
},
onShow() {
if(uni.getStorageSync('userInfo') && !uni.getStorageSync('erpUserInfo')){
uni.reLaunch({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment