|
@@ -1,5 +1,5 @@
|
|
|
import {createApp} from 'vue'
|
|
|
-import ElementPlus, {useZIndex, ClickOutside} from 'element-plus'
|
|
|
+import ElementPlus, {useZIndex, ClickOutside, TrapFocus} from 'element-plus'
|
|
|
import 'element-plus/dist/index.css'
|
|
|
import 'element-plus/theme-chalk/dark/css-vars.css'
|
|
|
import 'normalize.css' // css初始化
|
|
@@ -59,6 +59,7 @@ app.directive('el-btn', VElBtn)
|
|
|
app.directive('title', VTitle)
|
|
|
app.directive('ClickOutside', ClickOutside)
|
|
|
app.directive('Waves', VWaves)
|
|
|
+app.directive('TrapFocus', TrapFocus)
|
|
|
app.use(print)
|
|
|
app.use(VXETable)
|
|
|
app.use(JsonViewer);
|