This commit is contained in:
Vinjor 2025-04-28 17:18:53 +08:00
parent ca7eefd1fd
commit 7a52ca46ab

View File

@ -4,7 +4,7 @@
<view class="content-body">
<!-- 通告列表页 -->
<notice-index v-if="'home'==menuCode" @openVip="openVip"></notice-index>
<mine-index :key="nowUserType" :nowUserType="nowUserType" v-if="'my'==menuCode"
<mine-index ref="minePage" :key="nowUserType" :nowUserType="nowUserType" v-if="'my'==menuCode"
@refreshUserType="refreshUserType()"></mine-index>
<subscribe v-if="'dingyue'==menuCode"></subscribe>
<my-notice v-if="'myNotice'==menuCode && '02'==nowUserType"></my-notice>
@ -85,7 +85,9 @@
this.refreshUserType()
},
onShow() {
console.log("1111")
this.refreshUserType()
this.$refs.minePage.getDetail()
},
onLoad(param) {
if (param.menuCode) {