修改
This commit is contained in:
parent
b4dc4ba81b
commit
3416fec76c
@ -127,7 +127,6 @@
|
||||
parentList: {},
|
||||
}
|
||||
},
|
||||
|
||||
onShow() {
|
||||
let that = this;
|
||||
this.studentId = uni.getStorageSync('studentId');
|
||||
@ -154,13 +153,7 @@
|
||||
},
|
||||
fail: function(err) {}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
goindex() {
|
||||
@ -175,20 +168,7 @@
|
||||
this.studentInfoList = res.data.studentInfoList;
|
||||
this.kindergartenInfoList = res.data.kindergartenInfoList;
|
||||
this.parentList = res.data;
|
||||
// var obj = []
|
||||
// res.data.studentInfoList.forEach(e => {
|
||||
// obj.push(e.studentId)
|
||||
// })
|
||||
// uni.setStorageSync("studentId", obj)
|
||||
// that.login = true
|
||||
// that.stuinfos = true
|
||||
// that.tip = false
|
||||
// that.top2 = true
|
||||
// that.top = false
|
||||
// this.mask = true;
|
||||
} else {
|
||||
|
||||
}
|
||||
} else {}
|
||||
})
|
||||
},
|
||||
|
||||
@ -197,11 +177,6 @@
|
||||
const value = uni.getStorageSync('phone');
|
||||
const value2 = uni.getStorageSync('studentId');
|
||||
if (value && value2) {
|
||||
// uni.showModal({
|
||||
// title: '提示',
|
||||
// content: '确认要退出此账号吗',
|
||||
// success: function(res) {
|
||||
// if (res.confirm) {
|
||||
uni.removeStorageSync('phone');
|
||||
uni.removeStorageSync('openid');
|
||||
uni.removeStorageSync('studentId');
|
||||
@ -219,14 +194,8 @@
|
||||
url: '/pages/homepage/homepage'
|
||||
})
|
||||
}, 1000)
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user