提交 57e4f580 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 48b417d3
...@@ -4,14 +4,14 @@ import VueRouter from 'vue-router'; ...@@ -4,14 +4,14 @@ import VueRouter from 'vue-router';
import App from '@/App.vue'; import App from '@/App.vue';
import ElementUi from 'element-ui'; import ElementUi from 'element-ui';
import ViewUI from 'view-design'; import ViewUI from 'view-design';
import ibizLab from 'ibiz-vue-lib'; // import ibizLab from 'ibiz-vue-lib';
import { Interceptors } from '@/utils'; import { Interceptors } from '@/utils';
import {Print} from '@/utils/print'; import { Print } from '@/utils/print';
import i18n from '@/locale' import i18n from '@/locale'
import 'element-ui/lib/theme-chalk/index.css'; import 'element-ui/lib/theme-chalk/index.css';
import 'view-design/dist/styles/iview.css'; import 'view-design/dist/styles/iview.css';
import 'ibiz-vue-lib/lib/ibiz-vue-lib.css'; // import 'ibiz-vue-lib/lib/ibiz-vue-lib.css';
import '@/styles/default.less'; import '@/styles/default.less';
...@@ -33,7 +33,7 @@ Vue.config.errorHandler = function (err: any, vm: any, info: any) { ...@@ -33,7 +33,7 @@ Vue.config.errorHandler = function (err: any, vm: any, info: any) {
} }
Vue.config.productionTip = false; Vue.config.productionTip = false;
Vue.use(Print); Vue.use(Print);
Vue.use(ibizLab); // Vue.use(ibizLab);
Vue.use(Vuex); Vue.use(Vuex);
Vue.use(VueRouter);; Vue.use(VueRouter);;
Vue.use(ElementUi, { Vue.use(ElementUi, {
...@@ -57,14 +57,14 @@ router.beforeEach((to: any, from: any, next: any) => { ...@@ -57,14 +57,14 @@ router.beforeEach((to: any, from: any, next: any) => {
next(); next();
}); });
Interceptors.getInstance(router,store); Interceptors.getInstance(router, store);
const init = async () => { const init = async () => {
new Vue({ new Vue({
i18n, i18n,
store, store,
router, router,
render: (h: any) => h(App), render: (h: any) => h(App),
}).$mount('#app'); }).$mount('#app');
}; };
init(); init();
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册