新增预警页面
This commit is contained in:
@@ -9,7 +9,6 @@ import '@jeesite/core/design/index.less';
|
||||
|
||||
import App from './App.vue';
|
||||
import { createApp } from 'vue';
|
||||
import { isDevMode } from '@jeesite/core/utils/env';
|
||||
import { registerGlobComp } from '@jeesite/core/components/registerGlobComp';
|
||||
import { initAppConfigStore } from '@jeesite/core/logics/initAppConfig';
|
||||
import { setupErrorHandle } from '@jeesite/core/logics/error-handle';
|
||||
@@ -20,6 +19,9 @@ import { setupRouterGuard } from '@jeesite/core/router/guard';
|
||||
import { setupStore } from '@jeesite/core/store';
|
||||
import { setupDForm } from '@jeesite/dfm';
|
||||
|
||||
// 1. 引入 ECharts(全量引入,兼容Jeesite所有场景)
|
||||
import * as echarts from 'echarts';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = createApp(App);
|
||||
|
||||
@@ -53,18 +55,11 @@ async function bootstrap() {
|
||||
|
||||
// Dynamic Form
|
||||
setupDForm();
|
||||
|
||||
app.config.globalProperties.$echarts = echarts;
|
||||
if (window) window.echarts = echarts;
|
||||
|
||||
app.mount('#app');
|
||||
}
|
||||
|
||||
// 仅开发模式显示
|
||||
if (!isDevMode()) {
|
||||
console.log(
|
||||
'%c JeeSite %c快速开发平台 \n%c 用心去做我们的快速开发平台,用心去帮助我们的客户!让您用着省心的平台。\n 您的一个关注,就是对我们最大的支持: https://gitee.com/thinkgem/jeesite-vue (请点 star 收藏我们)\n 免费 QQ 技术交流群: 127515876、209330483、223507718、709534275、730390092、1373527、183903863(外包) \n 免费 微信 技术交流群: http://s.jeesite.com 如果加不上,可添加 微信 jeesitex 邀请您进群。%c\n ',
|
||||
'font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:39px;color:#0f87e8;-webkit-text-fill-color:#0f87e8;-webkit-text-stroke:1px #0f87e8;',
|
||||
'font-size:24px;color:#aaa;',
|
||||
'font-size:14px;color:#888;',
|
||||
'font-size:12px;',
|
||||
);
|
||||
}
|
||||
bootstrap().then();
|
||||
bootstrap().then();
|
||||
Reference in New Issue
Block a user