Commit 9e5ef56b by 无尘

fix: 修改Vue加载

parent e5a90253
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-16 16:37:05 * @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-21 14:20:51 * @LastEditTime: 2020-09-21 14:24:09
--> -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="cn"> <html lang="cn">
...@@ -18,16 +18,16 @@ ...@@ -18,16 +18,16 @@
<link rel="stylesheet" type="text/css" href="<%= BASE_URL %>static/fonts/iconfont.css"> <link rel="stylesheet" type="text/css" href="<%= BASE_URL %>static/fonts/iconfont.css">
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<script src="//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js"></script> <script src="//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/perm-button.1.0.0.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/transfer.1.0.24.js"></script>
</head> </head>
<body class="damolish"> <body class="damolish">
<noscript> <noscript>
<strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> <strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript> </noscript>
<div id="app"></div> <div id="app"></div>
<script src="//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/perm-button.1.0.0.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/transfer.1.0.24.js"></script>
</body> </body>
</html> </html>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-16 16:37:05 * @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-21 11:04:53 * @LastEditTime: 2020-09-21 14:32:17
*/ */
import 'babel-polyfill'; import 'babel-polyfill';
import 'element-ui/lib/theme-chalk/index.css'; import 'element-ui/lib/theme-chalk/index.css';
...@@ -31,6 +31,8 @@ Vue.prototype.axios = axios; ...@@ -31,6 +31,8 @@ Vue.prototype.axios = axios;
Vue.prototype.$itemPerm = itemPerm; Vue.prototype.$itemPerm = itemPerm;
Vue.prototype.$itemCode = itemCode; Vue.prototype.$itemCode = itemCode;
window.Vue = Vue;
// 开启vue devtools..... // 开启vue devtools.....
/* eslint-disable-next-line */ /* eslint-disable-next-line */
Vue.config.devtools = process.env.NODE_ENV !== 'production'; Vue.config.devtools = process.env.NODE_ENV !== 'production';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment