update
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
import $bus from '/@/utils/bus.ts';
|
||||
import { earlyWarning } from '/@/utils/busConstant.ts';
|
||||
import { useRefresh } from '/@/hooks/autoRefresh';
|
||||
import { PAGE_SWITCH } from '/@/hooks/autoRefresh/pageRefreshTime.ts';
|
||||
|
||||
const props = defineProps({
|
||||
orgCode: String,
|
||||
@@ -96,7 +97,7 @@
|
||||
// }, 3000);
|
||||
}
|
||||
|
||||
const { refreshState } = useRefresh(3000, () => {
|
||||
const { refreshState } = useRefresh(PAGE_SWITCH, () => {
|
||||
interval();
|
||||
});
|
||||
onUnmounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user