特殊人群

This commit is contained in:
shijingjing
2022-12-22 11:49:47 +08:00
parent 80bd8f8281
commit e365c83803
3 changed files with 47 additions and 25 deletions

View File

@@ -13,7 +13,7 @@
<div class="tab-list">
<div :class="index == tabIndex ? 'tab-item active' : 'tab-item'" v-for="(item, index) in tabList" :key="index" @click="tabClick(index)">{{ item.text }}<span></span></div>
</div>
<component ref='list' :is="tabList[tabIndex].component" class="component" />
<component ref='list' :is="tabList[tabIndex].component" :areaId="areaId" class="component" />
</div>
</template>
@@ -65,7 +65,7 @@ export default {
this.refreshList()
},
refreshList() {
// this.$nextTick(() => this.$refs.list.getData())
this.$nextTick(() => this.$refs.list.getData())
}
},
onLoad() {