Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
09ae429c
Commit
09ae429c
authored
Sep 21, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改Vue加载
parent
00011d04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.js
src/main.js
+3
-3
No files found.
src/main.js
View file @
09ae429c
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 14:
32:17
* @LastEditTime: 2020-09-21 14:
42:46
*/
import
'babel-polyfill'
;
import
'element-ui/lib/theme-chalk/index.css'
;
...
...
@@ -22,6 +22,8 @@ import filters from '@/filters/index.js';
import
{
permission
,
itemPerm
}
from
'@/utils/permission.js'
;
import
{
itemCode
}
from
'@/config'
;
window
.
Vue
=
Vue
;
Vue
.
use
(
VueRouter
);
Vue
.
use
(
ElementUI
);
// 请求头这种添加请求标识
...
...
@@ -31,8 +33,6 @@ Vue.prototype.axios = axios;
Vue
.
prototype
.
$itemPerm
=
itemPerm
;
Vue
.
prototype
.
$itemCode
=
itemCode
;
window
.
Vue
=
Vue
;
// 开启vue devtools.....
/* eslint-disable-next-line */
Vue
.
config
.
devtools
=
process
.
env
.
NODE_ENV
!==
'production'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment