diff --git a/src/App.vue b/src/App.vue index f4ee4b7..3193fed 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,3 @@ - - - - + + \ No newline at end of file diff --git a/src/layout/component/appMain.vue b/src/layout/component/appMain.vue index 06149b3..aeb0f1f 100644 --- a/src/layout/component/appMain.vue +++ b/src/layout/component/appMain.vue @@ -14,6 +14,6 @@ diff --git a/src/main.js b/src/main.js index 62d465c..37e6312 100644 --- a/src/main.js +++ b/src/main.js @@ -4,6 +4,7 @@ import router from './router' import store from '@/store' import regComponents from '@/components' import {defineObj} from 'black-knight/lib/config/custom' +import {provise} from 'black-knight/lib/config/tools' import ElementPlus from 'element-plus' import "element-plus/dist/index.css" console.log(import.meta.env,'--------------import------') @@ -15,6 +16,7 @@ app.use(router) .use(store) .use(regComponents) .use(ElementPlus) + .provide('event',new provise()) .mount('#app') app.config.globalProperties.foo='===foo====' // 全局配置属性 \ No newline at end of file diff --git a/src/view/demo.vue b/src/view/demo.vue index f7ddeda..b9f9472 100644 --- a/src/view/demo.vue +++ b/src/view/demo.vue @@ -7,8 +7,8 @@ \ No newline at end of file diff --git a/src/view/home.vue b/src/view/home.vue index c5d8a3b..5752877 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -19,9 +19,16 @@ \ No newline at end of file