haoxuan
2023-09-22 0ff14f558473544c9145735524fb671743c716bb
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"
 
Vue.config.productionTip = false
 
// import Element from "element-ui"
// Vue.use(Element, { size: "small", zIndex: 3000 })
// 防止连续点击
// 全局指令
import { preventReClick } from "@/api/global-directives";
Vue.use(preventReClick);
Vue.use(ElementUI)
 
new Vue({
  router,
  store,
  el: "#app",
  render: (h) => h(App)
}).$mount("#app")