| | |
| | | // (runtime-only or standalone) has been set in webpack.base.conf with an alias. |
| | | |
| | | // 直接从core-js引入全局的polyfill |
| | | import 'core-js/fn/promise'; |
| | | import 'core-js/fn/promise' |
| | | |
| | | import Vue from 'vue' |
| | | import Element from 'element-ui' |
| | | import App from './App' |
| | | |
| | | import router from './router' // 路由表 |
| | |
| | | import Req from './utils/jun_httpInstall' // http 请求 |
| | | import fn from './utils/g_fn_install' |
| | | |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | import 'element-ui/lib/theme-chalk/display.css' |
| | | import '@/icons' // icon |
| | | |
| | | Vue.prototype.isTestView = config.isTestView |
| | | |
| | | Vue.config.productionTip = false |
| | | |
| | | Vue.config.devtools = config.devtools |
| | |
| | | require('./mock.js') |
| | | } |
| | | Vue.config.productionTip = false |
| | | // Vue.use(element) |
| | | // 解决elementui下拉搜索框在ios上唤不起软键盘 |
| | | import ElementUI from '@/utils/element-ui-preprocessing' |
| | | |
| | | Vue.use(Element) |
| | | Vue.use(ElementUI) |
| | | Vue.use(Axios) |
| | | Vue.use(filter) |
| | | Vue.use(Req) |