Commit dc5e3ef8 by pangchong

feat: 问题处理

parent f711cb2f
<template> <template>
<global-page title="考核记录" ref="pageRef" v-model="dataList" @query="getList" refresherEnabled hide-empty-view> <global-page title="考核记录" ref="pageRef" v-model="dataList" @query="getList" refresherEnabled>
<template #top> <template #top>
<z-tabs :list="tabList" @change="tabsChange" bar-width="80rpx" bg-color="#f7f8fa" /> <z-tabs :list="tabList" @change="tabsChange" bar-width="80rpx" bg-color="#f7f8fa" />
</template> </template>
...@@ -29,6 +29,7 @@ const tabList = ref(['OPEN', 'CLOSE', '全部']) ...@@ -29,6 +29,7 @@ const tabList = ref(['OPEN', 'CLOSE', '全部'])
//导航切换 //导航切换
const tabsChange = (index) => { const tabsChange = (index) => {
tabIndex.value = index tabIndex.value = index
dataList.value = []
pageRef.value?.reload() pageRef.value?.reload()
} }
//加载 //加载
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment