添加页面加入/删除/文件加入/删除动画

This commit is contained in:
539943419 committed 2024-08-13 21:04:51 +08:00
1 parent 27ce78597b
commit 3d1f83d0ff
7 files changed
+283 -157

No files matched your search

+8 -1
View File
@@ -1,6 +1,13 @@
const dataStorage: any = {};
import { reactive } from "vue";
let dataStorage: {
[key: string | number] : any
};
export default function useDataBus() {
if(dataStorage === undefined) {
dataStorage = reactive({})
}
return {
set(key: string | number, value: any) {
dataStorage[key] = value;