修复iconContent参数校验问题
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user