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 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/UI-Project/src/main.js b/UI-Project/src/main.js
index 8ac785a..30b5a74 100644
--- a/UI-Project/src/main.js
+++ b/UI-Project/src/main.js
@@ -12,8 +12,9 @@
 import 'vxe-table/lib/style.css'
 import i18n from '@/lang'
 // import Echarts from "vue-echarts"
-// import * as echarts from "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)
@@ -27,5 +28,4 @@
     locale: zhCn,
 })
 app.use(i18n)
- 
-app.mount('#app')
\ No newline at end of file
+app.mount('#app')

--
Gitblit v1.8.0