前端项目初始化,引入了图表库
parent
f29a384904
commit
b3251b3485
File diff suppressed because it is too large
Load Diff
|
|
@ -46,7 +46,7 @@
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.10",
|
||||||
"diagram-js": "^12.8.0",
|
"diagram-js": "^12.8.0",
|
||||||
"driver.js": "^1.3.1",
|
"driver.js": "^1.3.1",
|
||||||
"echarts": "^5.5.0",
|
"echarts": "^5.6.0",
|
||||||
"echarts-wordcloud": "^2.1.0",
|
"echarts-wordcloud": "^2.1.0",
|
||||||
"element-plus": "2.11.1",
|
"element-plus": "2.11.1",
|
||||||
"fast-xml-parser": "^4.3.2",
|
"fast-xml-parser": "^4.3.2",
|
||||||
|
|
|
||||||
|
|
@ -72,11 +72,11 @@ importers:
|
||||||
specifier: ^1.3.1
|
specifier: ^1.3.1
|
||||||
version: 1.3.1
|
version: 1.3.1
|
||||||
echarts:
|
echarts:
|
||||||
specifier: ^5.5.0
|
specifier: ^5.6.0
|
||||||
version: 5.5.1
|
version: 5.6.0
|
||||||
echarts-wordcloud:
|
echarts-wordcloud:
|
||||||
specifier: ^2.1.0
|
specifier: ^2.1.0
|
||||||
version: 2.1.0(echarts@5.5.1)
|
version: 2.1.0(echarts@5.6.0)
|
||||||
element-plus:
|
element-plus:
|
||||||
specifier: 2.11.1
|
specifier: 2.11.1
|
||||||
version: 2.11.1(vue@3.5.12(typescript@5.3.3))
|
version: 2.11.1(vue@3.5.12(typescript@5.3.3))
|
||||||
|
|
@ -3040,8 +3040,8 @@ packages:
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
echarts: ^5.0.1
|
echarts: ^5.0.1
|
||||||
|
|
||||||
echarts@5.5.1:
|
echarts@5.6.0:
|
||||||
resolution: {integrity: sha512-Fce8upazaAXUVUVsjgV6mBnGuqgO+JNDlcgF79Dksy4+wgGpQB2lmYoO4TSweFg/mZITdpGHomw/cNBJZj1icA==}
|
resolution: {integrity: sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==}
|
||||||
|
|
||||||
ejs@3.1.10:
|
ejs@3.1.10:
|
||||||
resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
|
resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
|
||||||
|
|
@ -5174,8 +5174,8 @@ packages:
|
||||||
zeebe-bpmn-moddle@1.7.0:
|
zeebe-bpmn-moddle@1.7.0:
|
||||||
resolution: {integrity: sha512-eZ6OXSt0c4n9V/oN/46gTlwDIS3GhWQLt9jbM5uS/YryB4yN8wdrrKrtw+TpyNy0SSKWXNDHyC83nCA2blPO3Q==}
|
resolution: {integrity: sha512-eZ6OXSt0c4n9V/oN/46gTlwDIS3GhWQLt9jbM5uS/YryB4yN8wdrrKrtw+TpyNy0SSKWXNDHyC83nCA2blPO3Q==}
|
||||||
|
|
||||||
zrender@5.6.0:
|
zrender@5.6.1:
|
||||||
resolution: {integrity: sha512-uzgraf4njmmHAbEUxMJ8Oxg+P3fT04O+9p7gY+wJRVxo8Ge+KmYv0WJev945EH4wFuc4OY2NLXz46FZrWS9xJg==}
|
resolution: {integrity: sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==}
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
|
|
||||||
|
|
@ -8333,14 +8333,14 @@ snapshots:
|
||||||
|
|
||||||
eastasianwidth@0.2.0: {}
|
eastasianwidth@0.2.0: {}
|
||||||
|
|
||||||
echarts-wordcloud@2.1.0(echarts@5.5.1):
|
echarts-wordcloud@2.1.0(echarts@5.6.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
echarts: 5.5.1
|
echarts: 5.6.0
|
||||||
|
|
||||||
echarts@5.5.1:
|
echarts@5.6.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.3.0
|
tslib: 2.3.0
|
||||||
zrender: 5.6.0
|
zrender: 5.6.1
|
||||||
|
|
||||||
ejs@3.1.10:
|
ejs@3.1.10:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -10571,6 +10571,6 @@ snapshots:
|
||||||
|
|
||||||
zeebe-bpmn-moddle@1.7.0: {}
|
zeebe-bpmn-moddle@1.7.0: {}
|
||||||
|
|
||||||
zrender@5.6.0:
|
zrender@5.6.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.3.0
|
tslib: 2.3.0
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// 引入unocss css
|
// 引入unocss css
|
||||||
import '@/plugins/unocss'
|
import '@/plugins/unocss'
|
||||||
|
/*import 'uno.css'*/
|
||||||
// 导入全局的svg图标
|
// 导入全局的svg图标
|
||||||
import '@/plugins/svgIcon'
|
import '@/plugins/svgIcon'
|
||||||
|
|
||||||
|
|
@ -47,10 +47,14 @@ import { setupWangEditorPlugin } from '@/views/bpm/model/form/PrintTemplate'
|
||||||
|
|
||||||
import print from 'vue3-print-nb' // 打印插件
|
import print from 'vue3-print-nb' // 打印插件
|
||||||
|
|
||||||
|
import * as echarts from 'echarts'
|
||||||
|
|
||||||
// 创建实例
|
// 创建实例
|
||||||
const setupAll = async () => {
|
const setupAll = async () => {
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
|
app.config.globalProperties.$echarts = echarts
|
||||||
|
|
||||||
await setupI18n(app)
|
await setupI18n(app)
|
||||||
|
|
||||||
setupStore(app)
|
setupStore(app)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue