mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
chore: 修改inputRange schema 类型定义
This commit is contained in:
parent
1692b5668f
commit
606a5a24ea
@ -618,7 +618,7 @@ export default class RangeControl extends React.PureComponent<
|
||||
let renderMarks:
|
||||
| MarksType
|
||||
| {[index: number | string]: ReactNode}
|
||||
| undefined = {...marks};
|
||||
| undefined = marks ? {...marks} : marks;
|
||||
marks &&
|
||||
forEach(marks, (item, key) => {
|
||||
if (isObject(item) && (item as SchemaObject).type) {
|
||||
|
Loading…
Reference in New Issue
Block a user