jdcProject_front/src/utils/fix-blank-page.ts

16 lines
639 B
TypeScript
Raw Normal View History

import { useTagsViewStoreHook } from "@/store/modules/tags-view"
/**
* <transition> <keep-alive> 使
* Vue BUGhttps://github.com/vuejs/core/issues/7121
2023-08-24 16:25:47 +08:00
* 使
* 1.
* 2. TS
* 3.
* 4.
*/
export const fixBlankPage = () => {
const tagsViewStore = useTagsViewStoreHook()
tagsViewStore.cachedViews = [...tagsViewStore.cachedViews]
}