讲师费用管理,页面跳转,刷新页面

This commit is contained in:
gengxin
2025-02-18 10:56:03 +08:00
parent 7efc169aaf
commit 2b0c1fb4e1

View File

@@ -268,8 +268,13 @@ export default {
},
setup(props) {
let initData = ref(false);
watchEffect(() => {
console.log('Item changed:', props.activeKeyProps);
if(!initData.value && props.activeKeyProps == 2){
getTableDate()
}
// 在这里你可以根据 props.item 进行一些操作
});
@@ -282,6 +287,7 @@ export default {
// state.searchdate = state.searchParam.searchdate
// }
getTableDate()
initData.value = true;
})
const router = useRouter()
const state = reactive({