From c6e9aca9e52cdd743f30a0b5e1ef88d8a12a7288 Mon Sep 17 00:00:00 2001 From: elliott <382696293@qq.com> Date: Thu, 29 Feb 2024 14:44:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=BF=AE=E6=94=B9=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flossom-ui/src/views/system/mode/index.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/flossom-ui/src/views/system/mode/index.vue b/flossom-ui/src/views/system/mode/index.vue index 9c3388d..7a21b0a 100644 --- a/flossom-ui/src/views/system/mode/index.vue +++ b/flossom-ui/src/views/system/mode/index.vue @@ -723,9 +723,21 @@ export default { if(data.startTimeArray.length == 0) { flag = true; } - if (data.startSourceArray.length == 0 || data.stopSourceArray.length == 0) { + if (data.startSourceArray.length == 0 ) { serverImageFlag = true; + } else { + if(!data.startSourceArray[0].url) { + serverImageFlag = true; + } } + if (data.stopSourceArray.length == 0) { + serverImageFlag = true; + } else { + if(!data.stopSourceArray[0].url) { + serverImageFlag = true; + } + } + }) } else { this.$message.error("护理内容不能为空");