mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:39:07 +08:00
fix: 修复 #6961 引发的问题
This commit is contained in:
parent
a5671a8e2d
commit
551d8c4479
@ -189,7 +189,7 @@ export const FormStore = ServiceStore.named('FormStore')
|
||||
// 如果数据域中有数据变化,就都reset一下,去掉之前残留的验证消息
|
||||
self.items.forEach(item => {
|
||||
const value = item.value;
|
||||
if (value !== item.tmpValue) {
|
||||
if (typeof value !== 'undefined' && value !== item.tmpValue) {
|
||||
item.changeTmpValue(value);
|
||||
}
|
||||
item.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user