新增预警页面
This commit is contained in:
@@ -19,7 +19,6 @@ 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() {
|
||||
@@ -57,7 +56,9 @@ async function bootstrap() {
|
||||
setupDForm();
|
||||
|
||||
app.config.globalProperties.$echarts = echarts;
|
||||
if (window) window.echarts = echarts;
|
||||
if (typeof window !== 'undefined') {
|
||||
window.echarts = echarts;
|
||||
}
|
||||
|
||||
app.mount('#app');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user