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