智慧园区前端大屏
linwe
2024-11-04 6436f06c84ceb0bf2d8771dbad1c9e8e80bb587e
src/views/survey/components/box/unitContent.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-03-13 14:54:26
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-01 10:08:41
 * @LastEditTime: 2024-11-04 13:58:17
 * @FilePath: \bigScreen\src\views\survey\components\box\unitContent.vue
 * @Description: 
 * 
@@ -18,7 +18,6 @@
let myEcharts = reactive(null)
onMounted(() => {
  nextTick(() => {
    myEcharts = $echarts.init(curEcharts.value)
@@ -27,7 +26,7 @@
  })
})
function getEmergencySpace() {
function getEmergencySpace () {
  getEmergencySpaceStatistic().then(res => {
    // console.log(res)
    let data = res.data.data
@@ -37,7 +36,7 @@
        name: item.type,
        value: item.num
      })
    });
    })
    myEcharts.setOption({
      legend: {