diff --git a/pageUser/index/index.vue b/pageUser/index/index.vue index f3c503b..79c7428 100644 --- a/pageUser/index/index.vue +++ b/pageUser/index/index.vue @@ -256,7 +256,9 @@ import infoBox from "@/commons/utils/infoBox.js" import * as $Api from '@/http/yskApi/shop-user.js' import API from '../../http/classApi'; - + import { + onShow, + } from '@dcloudio/uni-app'; import { midfiyAccount } from '@/http/yskApi/requestAll.js'; @@ -519,7 +521,7 @@ pageData.allShopInfo = res } - onMounted(() => { + onShow(() => { getUser() getAllShopInfo() })