This commit is contained in:
2023-09-17 23:49:42 +08:00
parent 3379a9b18e
commit ded28b62fb
8 changed files with 48 additions and 23 deletions

View File

@@ -4,13 +4,13 @@ import useQuestionStore from '@/jtools/store/question' //引入store
export default {
onLaunch: function () {
useUserStore().queryVipList()
useQuestionStore().getAllQuestion()
if(useUserStore().isLogin) {
useUserStore().getUserInfo()
useUserStore().searchUserVip()
}
},
onShow: function () {
useQuestionStore().getAllQuestion()
console.log('App Show')
},
onHide: function () {