zuozhengqing
2023-10-17 59c589fad7906e22caacbf7ec3904180d6207722
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"
import ElementUI from "element-ui"
import "element-ui/lib/theme-chalk/index.css"
import "@/assets/style/index.scss"
import "@/components"
 
Vue.use(ElementUI)
// 修改默认点击遮罩层为不关闭
ElementUI.MessageBox.setDefaults({
  closeOnClickModal: false
})
ElementUI.Dialog.props.closeOnClickModal.default = false
 
Vue.config.productionTip = false
 
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount("#app")