Match-id-3b7b120ab54faf76b7553ae54f60d9051d419781
This commit is contained in:
parent
56dd409cbc
commit
0492221e89
|
@ -38,14 +38,15 @@ function updateDom(
|
|||
oldProps,
|
||||
newProps,
|
||||
);
|
||||
processing.changeList = changeList;
|
||||
|
||||
// 输入类型的直接标记更新
|
||||
if (type === 'input' || type === 'textarea' || type === 'select' || type === 'option') {
|
||||
FlagUtils.markUpdate(processing);
|
||||
processing.changeList = changeList;
|
||||
} else {
|
||||
// 其它的类型,数据有变化才标记更新
|
||||
if (Object.keys(changeList).length) {
|
||||
processing.changeList = changeList;
|
||||
FlagUtils.markUpdate(processing);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue