Commit b7959b9a authored by 小耗子's avatar 小耗子

修改

parent 8410ec71
......@@ -19,12 +19,7 @@
export default {
data() {
return {
unregistered:false,
tabBarVal: '步数',
registerPopup:true,
form:{name:'xxx'},
tips: '获取',
seconds: 10
unregistered:false
}
},
computed: {
......@@ -42,7 +37,6 @@
},
// 获取手机号
async getInfoPhoneNumber (e) {
console.log(e)
let number = await this.getPhoneNumber(e);
let register = await this.registerInfoFn();
if(register){ //注册成功
......
......@@ -41,9 +41,10 @@ const actions = {
uni.checkSession({ //校验session
success(res) {
if (res.errMsg === "checkSession:ok") sessionStatus = true;
},
complete() {
let mallId = '106975910000477'
let mallId = '106975910000477';
uni.setStorageSync("mallId", mallId)
if (uni.getStorageSync("sessionKey") && sessionStatus) {
resolve(uni.getStorageSync("sessionKey"));
......
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