Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei authored Nov 8, 2023
1 parent 348e766 commit b3ece9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const Internal = (props: ScaleSelectorProp) => {
}
}

// 设置默认选中类型 当前传入类型除却 custom ;因图层样式类型中无 custom
// 设置默认选中类型;因类型推断问题,当前传入类型去除 custom
if (defaultSelectType && defaultSelectType !== 'custom') {
setSelectedType(defaultSelectType);
onChange?.({ isCustom: false, type: defaultSelectType });
Expand Down

0 comments on commit b3ece9a

Please sign in to comment.