Browse Source

新子组件-单选选中样式bug修改

zhouna 5 năm trước cách đây
mục cha
commit
2504ba20ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/common/components/DropList/index.jsx

+ 1 - 1
src/common/components/DropList/index.jsx

@@ -41,7 +41,7 @@ class DropList extends Component{
         <ul>
           {data&&data.map((it)=>{
             return <LiItem handleClick={(e)=>this.handleSelect(e,it)}
-                            type='radio'
+                            type='border'
                             selected={it.selected||(boxMark!=1&&!hideTag&&it.selected!==false&&+it.defaultSelect===1)}
                             >{it.labelPrefix}{it.name}{it.labelSuffix}</LiItem>
           })}