mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
18 lines
221 B
TypeScript
18 lines
221 B
TypeScript
|
// @ts-nocheck
|
||
|
|
||
|
import { App } from "vue";
|
||
|
|
||
|
export default {
|
||
|
get vue(): App {
|
||
|
return window.__CrudApp__;
|
||
|
},
|
||
|
|
||
|
get(key: string) {
|
||
|
return window[key];
|
||
|
},
|
||
|
|
||
|
set(key: string, value: any) {
|
||
|
window[key] = value;
|
||
|
}
|
||
|
};
|