模式修改优化处理

master
elliott 2 years ago
parent 2599790dd5
commit c6e9aca9e5

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

Loading…
Cancel
Save