Skip to content

Commit

Permalink
import babel-polyfill
Browse files Browse the repository at this point in the history
兼容ie8
  • Loading branch information
uncleLian committed Dec 3, 2019
1 parent 3120b1a commit a8fbcad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"core-js": "^2.6.5",
"mint-ui": "^2.2.13",
"mockjs": "^1.0.1-beta3",
Expand Down Expand Up @@ -59,4 +60,4 @@
"last 2 versions",
"not ie <= 8"
]
}
}
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import App from '@/App'
import router from '@/router'
import store from '@/store'

// 兼容IE8以上
import 'babel-polyfill'

// 第三方库
import MintUI, { Indicator, Toast } from 'mint-ui'
import 'mint-ui/lib/style.css'
Expand Down

0 comments on commit a8fbcad

Please sign in to comment.