mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 04:54:58 +08:00
🎨 全局修改弹窗可拖动
This commit is contained in:
parent
a0980c367a
commit
77f167d414
|
@ -5,6 +5,7 @@ import router from './router'
|
|||
import { createPinia } from 'pinia'
|
||||
import ElementPlus from 'element-plus';
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
import { ElDialog } from 'element-plus'
|
||||
import TableAbility from '@/components/table-ability.vue'
|
||||
|
||||
import SliderVerify from 'slider-verify-v3'
|
||||
|
@ -16,17 +17,20 @@ import './assets/font/iconfont.css';
|
|||
import '@/assets/css/custom-element.scss'
|
||||
import '@/assets/css/animastore.css'
|
||||
|
||||
import '@/utils/debugger'
|
||||
// import '@/utils/debugger'
|
||||
|
||||
const pinia = createPinia()
|
||||
const app = createApp(main)
|
||||
|
||||
ElDialog.props.draggable.default = true
|
||||
|
||||
app.use(pinia)
|
||||
app.use(SliderVerify)
|
||||
|
||||
app.use(router)
|
||||
.use(ElementPlus) // ElementPlus 全局引入
|
||||
|
||||
app.component('el-dialog', ElDialog)
|
||||
app.component('TableAbility', TableAbility)
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component)
|
||||
|
|
Loading…
Reference in New Issue
Block a user