xuhuajiao
2 years ago
2 changed files with 40 additions and 40 deletions
@ -1,39 +1,39 @@ |
|||
import Vue from 'vue' |
|||
import App from './App.vue' |
|||
import router from './router' |
|||
import store from './store' |
|||
|
|||
// 适配flex
|
|||
import '@/common/flexible.js' |
|||
|
|||
// 引入全局css
|
|||
import './assets/styles/style.scss' |
|||
import './assets/iconfont/iconfont.js' |
|||
import './assets/fonts/fonts.css' |
|||
|
|||
import ElementUI from 'element-ui' |
|||
import 'element-ui/lib/theme-chalk/index.css' |
|||
Vue.use(ElementUI) |
|||
|
|||
import axios from 'axios' |
|||
Vue.prototype.$axios = axios |
|||
// 馆代码
|
|||
Vue.prototype.libcode = 'FTZN' |
|||
// Vue.prototype.libcode = '1201'
|
|||
|
|||
import { parseTime } from '@/utils/index.js' |
|||
Vue.filter('parseTime', function(time, cFormat) { |
|||
return parseTime(time, cFormat) |
|||
}) |
|||
|
|||
// 引入echart
|
|||
import echarts from 'echarts' |
|||
Vue.prototype.$echarts = echarts |
|||
|
|||
Vue.config.productionTip = false |
|||
|
|||
new Vue({ |
|||
router, |
|||
store, |
|||
render: (h) => h(App) |
|||
}).$mount('#app') |
|||
import Vue from 'vue' |
|||
import App from './App.vue' |
|||
import router from './router' |
|||
import store from './store' |
|||
|
|||
// 适配flex
|
|||
import '@/common/flexible.js' |
|||
|
|||
// 引入全局css
|
|||
import './assets/styles/style.scss' |
|||
import './assets/iconfont/iconfont.js' |
|||
import './assets/fonts/fonts.css' |
|||
|
|||
import ElementUI from 'element-ui' |
|||
import 'element-ui/lib/theme-chalk/index.css' |
|||
Vue.use(ElementUI) |
|||
|
|||
import axios from 'axios' |
|||
Vue.prototype.$axios = axios |
|||
// 馆代码
|
|||
// Vue.prototype.libcode = 'FTZN'
|
|||
Vue.prototype.libcode = '1201' |
|||
|
|||
import { parseTime } from '@/utils/index.js' |
|||
Vue.filter('parseTime', function(time, cFormat) { |
|||
return parseTime(time, cFormat) |
|||
}) |
|||
|
|||
// 引入echart
|
|||
import echarts from 'echarts' |
|||
Vue.prototype.$echarts = echarts |
|||
|
|||
Vue.config.productionTip = false |
|||
|
|||
new Vue({ |
|||
router, |
|||
store, |
|||
render: (h) => h(App) |
|||
}).$mount('#app') |
Write
Preview
Loading…
Cancel
Save
Reference in new issue