From 7ad9541e85ad49406d4f8effeafed9e19fc786fb Mon Sep 17 00:00:00 2001 From: zhufu <17863654727@163.com> Date: Thu, 30 Oct 2025 15:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=B1=E5=8D=A0=E8=80=95=E5=9C=B0=E5=BB=BA?= =?UTF-8?q?=E6=88=BF=E7=BA=BF=E7=B4=A2=E5=88=97=E8=A1=A8=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E6=95=88=E6=9E=9C=E6=96=87=E5=AD=97=E6=95=88?= =?UTF-8?q?=E6=9E=9C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/farmland/ShowInfoModal/index.vue | 8 +------- src/components/farmland/SplitPolygonModal/index.vue | 8 +------- src/components/farmland/util.ts | 6 ++++++ src/views/demo/farmland/patchsummary/index.vue | 10 +++++++++- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/components/farmland/ShowInfoModal/index.vue b/src/components/farmland/ShowInfoModal/index.vue index 10565f76..b36083ef 100644 --- a/src/components/farmland/ShowInfoModal/index.vue +++ b/src/components/farmland/ShowInfoModal/index.vue @@ -208,7 +208,7 @@ resultOptions, qitaUseTOOptions, } from '@/utils/global'; - import { getYongtufenleiSpan } from '@/components/farmland/util' + import { getYongtufenleiSpan, yesOrNoOptions } from '@/components/farmland/util' const { createMessage } = useMessage(); const { VITE_GLOB_INFO_IMAGE_URL } = getAppEnvConfig(); @@ -436,12 +436,6 @@ const handleCancelPreviewFile = ()=>{ return false; } }; - const yesOrNoOptions = (value) => { - if(value == null){ - return '' - } - return value == '1'? '是': '否' - }