From aeb317703c9c82edb7c4c7ecc5985eef62864c7c Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期二, 05 十二月 2023 19:41:21 +0800 Subject: [PATCH] update_202312051941_项目-治疗室屏幕web-切图v1 --- src/main.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index b5688cd..84fe861 100644 --- a/src/main.js +++ b/src/main.js @@ -2,9 +2,10 @@ // (runtime-only or standalone) has been set in webpack.base.conf with an alias. // 鐩存帴浠巆ore-js寮曞叆鍏ㄥ眬鐨刾olyfill -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' // 璺敱琛� @@ -15,6 +16,12 @@ 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 @@ -23,7 +30,11 @@ require('./mock.js') } Vue.config.productionTip = false -// Vue.use(element) +// 瑙e喅elementui涓嬫媺鎼滅储妗嗗湪ios涓婂敜涓嶈捣杞敭鐩� +import ElementUI from '@/utils/element-ui-preprocessing' + +Vue.use(Element) +Vue.use(ElementUI) Vue.use(Axios) Vue.use(filter) Vue.use(Req) -- Gitblit v1.8.0