mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
还原
This commit is contained in:
parent
31305833a0
commit
60a950c522
@ -346,8 +346,7 @@ export const FormStore = ServiceStore
|
||||
item = self.items[self.items.length - 1] as IFormItemStore;
|
||||
|
||||
// 默认值可能在原型上,把他挪到当前对象上。
|
||||
const originValue = item.value;
|
||||
setValueByName(item.name, originValue !== void 0 ? originValue : options && options.value);
|
||||
setValueByName(item.name, item.value);
|
||||
|
||||
options && item.config(options);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user