feat:修复错误

This commit is contained in:
weiwei committed 2025-09-25 19:12:12 +08:00
1 parent 064c13c7b0
commit d1c84d3eb5
4 files changed
+43 -31

No files matched your search

@@ -18,8 +18,8 @@
<view class="bg-white rounded-20rpx my-20rpx font-bold py-1">
<z-tabs
:list="[
{ name: '访客申请', value: 0 },
{ name: '我的邀约', value: 1 },
{ name: '我的邀约', value: '2' },
{ name: '访客申请', value: '1' },
// { name: '访客申请', value: 0, badge: { count: 10 } },
// { name: '我的邀约', value: 1, badge: { count: 6 } },
]"
@@ -138,7 +138,7 @@ const visitorReasonList = ref<{ title: string; id: string }[]>([])
const state = reactive<any>({
params: {
checkStatus: tabs[0].value,
type: 1, // type为1:访客端主动申请 type为2:邀约端邀约 type为3:后台创建
type: 2, // type为1:访客端主动申请 type为2:邀约端邀约 type为3:后台创建
},
})
const pageRef = ref<any>(null)
@@ -164,7 +164,7 @@ const query = (page: number, pagesize: number) => {
}
const onTabChange = (e: number) => {
state.params.type = e + 1
state.params.type = e
pageRef.value.reload(true)
}