|
@@ -10,7 +10,8 @@ import filters from './filters/index' //过滤器
|
|
import AES from '@/common/js/secret'
|
|
import AES from '@/common/js/secret'
|
|
import * as API from '@/api/index'
|
|
import * as API from '@/api/index'
|
|
|
|
|
|
-import Element from 'element-ui'
|
|
|
|
|
|
+// import Element from 'element-ui'
|
|
|
|
+import { Loading, Message, MessageBox } from 'element-ui'
|
|
import '@/common/styles/element-variables.scss'
|
|
import '@/common/styles/element-variables.scss'
|
|
import '@/common/styles/index.scss' // 自定义 css
|
|
import '@/common/styles/index.scss' // 自定义 css
|
|
import 'animate.css' //动画 css
|
|
import 'animate.css' //动画 css
|
|
@@ -26,7 +27,7 @@ import 'vue-mini-player/lib/vue-mini-player.css'
|
|
// Vue.use(VCharts)
|
|
// Vue.use(VCharts)
|
|
|
|
|
|
|
|
|
|
-Vue.use(Element);
|
|
|
|
|
|
+// Vue.use(Element);
|
|
Vue.use(VueClipboard)
|
|
Vue.use(VueClipboard)
|
|
Vue.use(hotKey)
|
|
Vue.use(hotKey)
|
|
Vue.use(Contextmenu);
|
|
Vue.use(Contextmenu);
|
|
@@ -41,6 +42,11 @@ Vue.prototype.$axios = httpServer;
|
|
Vue.prototype.$api = API;
|
|
Vue.prototype.$api = API;
|
|
Vue.prototype.$API = API;
|
|
Vue.prototype.$API = API;
|
|
|
|
|
|
|
|
+Vue.prototype.$message = Message
|
|
|
|
+Vue.prototype.$alert = MessageBox.alert
|
|
|
|
+Vue.prototype.$confirm = MessageBox.confirm
|
|
|
|
+Vue.prototype.$loading = Loading.service
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 公共配置信息
|
|
* 公共配置信息
|
|
*/
|
|
*/
|