修复iconContent参数校验问题

This commit is contained in:
liaozetao
2023-12-20 20:08:52 +08:00
parent e10991bf58
commit 25f8ecfd93

View File

@@ -224,6 +224,9 @@ export default {
var seq = $("#modal_seq").val();
var isTop = $("#modal_isTop").val();
var iconContent = $("#modal_iconContent").val();
if (!iconContent) {
iconContent = '';
}
var topStart = $("#modal_topStart").val();
var topEnd = $("#modal_topEnd").val();
if ($("#addForm").validationEngine('validate')) {
@@ -234,7 +237,7 @@ export default {
id: id,
seq: seq,
isTop: isTop,
iconContent: '',
iconContent: iconContent,
topStart: topStart,
topEnd: topEnd,
},