mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
讲师费用管理,页面跳转,刷新页面
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user