|
@@ -84,7 +84,8 @@ ElementUI.Select.watch.value = function (newValue, oldValue) {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
-Vue.use(ElementUI)
|
|
|
+
|
|
|
+// Vue.use(ElementUI)
|
|
|
Vue.use(installComponents)
|
|
|
// 命名根据需要,DonMessage只是在文章中使用
|
|
|
export const $message = new DonMessage()
|
|
@@ -124,6 +125,7 @@ Vue.use(VueAMap)
|
|
|
|
|
|
// 检测浏览器是否缩放
|
|
|
// import '@/utils/zoom'
|
|
|
+Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 }
|
|
|
// set ElementUI lang to EN
|
|
|
Vue.use(ElementUI, { locale })
|
|
|
|