| | |
| | | import '@/css/fonts.css' |
| | | import '@/js/main.js' |
| | | import Service from '@/store/service.js' |
| | | |
| | | import Header from "@/components/header.vue"; |
| | | Vue.component(Header.name, Header); // 头部组件 |
| | | |
| | |
| | | Vue.component(Footer.name, Footer); // 底部组件 |
| | | |
| | | // import '!style-loader!css-loader!less-loader!./less/base.less' |
| | | if (!localStorage.getItem('SessionUid')) { |
| | | localStorage.setItem('SessionUid', (() => { |
| | | let uuid = [] |
| | | let _options = '0123456789abcdefghigklmnopqrstuv' |
| | | for (let i = 0; i < 32; i++) { |
| | | uuid.push(_options.substr(Math.floor(Math.random() * 0x20), 1)) |
| | | } |
| | | return uuid.join('') |
| | | })()) |
| | | } |
| | | |
| | | Vue.config.productionTip = false |
| | | Vue.config.devtools = true |
| | |
| | | Vue.use(ElementUi); |
| | | Vue.use(Vuex); |
| | | |
| | | window.GLOB = { |
| | | appkey: '202004041613277377A6A2456D34A4948AE84', |
| | | rduri: 'http://sso.mk9h.cn/webapi/dostars' |
| | | } |
| | | |
| | | /* eslint-disable no-new */ |
| | | new Vue({ |
| | | el: '#app', |