From 47c33b4f988e65d1463d243e30422faacfbab99b Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期五, 23 八月 2024 16:15:21 +0800
Subject: [PATCH] 防止破损表里有重复数据导致识别版图无法显示,当出现重复ID时,以最后一条的状态为准

---
 UI-Project/src/main.js |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/UI-Project/src/main.js b/UI-Project/src/main.js
index b8b328b..30b5a74 100644
--- a/UI-Project/src/main.js
+++ b/UI-Project/src/main.js
@@ -11,7 +11,12 @@
 import VXETable from 'vxe-table'
 import 'vxe-table/lib/style.css'
 import i18n from '@/lang'
-
+// import Echarts from "vue-echarts"
+import * as echarts from "echarts"
+// echarts.registerMap('china', china)
+// Vue.prototype.$echarts = echarts
+// app.component("v-chart", Echarts)
+// app.config.globalProperties.$echarts = echarts
 const app = createApp(App)
 const pinia = createPinia()
 pinia.use(piniaPluginPersistedstate )
@@ -23,5 +28,4 @@
     locale: zhCn,
 })
 app.use(i18n)
- 
-app.mount('#app')
\ No newline at end of file
+app.mount('#app')

--
Gitblit v1.8.0