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("护理内容不能为空");