From 6fabf4a68d95363d8f30305c4bbb71f9b9c80448 Mon Sep 17 00:00:00 2001 From: wzy-warehouse <18135009705@163.com> Date: Thu, 23 Apr 2026 09:27:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=8F=98=E4=B8=BA=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E5=BC=8F=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/rainstorm/useRainDisasterChain.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hooks/rainstorm/useRainDisasterChain.ts b/src/hooks/rainstorm/useRainDisasterChain.ts index 4977d3b..dfc961d 100644 --- a/src/hooks/rainstorm/useRainDisasterChain.ts +++ b/src/hooks/rainstorm/useRainDisasterChain.ts @@ -31,12 +31,12 @@ export const useRainDisasterChain = () => { /** * 下拉选项 */ - const selectOptions = [ + const selectOptions = ref([ { value: PointType.LANDSLIDE, label: '滑坡' }, { value: PointType.DEBRIS_FLOW, label: '泥石流' }, { value: PointType.FLASH_FLOOD, label: '山洪' }, { value: PointType.WATER_LOGGING, label: '内涝' }, - ]; + ]); /** * 表格数据 @@ -46,12 +46,12 @@ export const useRainDisasterChain = () => { /** * 表头配置 */ - const tableColumns = [ + const tableColumns = ref([ { title: '名称', key: 'disasterName' }, { title: '位置', key: 'position' }, { title: '规模等级', key: 'scaleGrade' }, { title: '险情等级', key: 'riskGrade' }, - ]; + ]); /** * 分页配置