添加页面加入/删除/文件加入/删除动画
This commit is contained in:
1 parent
27ce78597b
commit
3d1f83d0ff
7 files changed
+283
-157
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user