mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-08 13:25:31 +08:00
bug(ECX-8128):
This commit is contained in:
@@ -85,15 +85,14 @@ const Settings = () => {
|
||||
>
|
||||
<View className='lang-list'>
|
||||
{state.languageList.map((item, index) => (
|
||||
<View className='lang-item' key={`lang-item__${index}`}>
|
||||
<View className='lang-item' key={`lang-item__${index}`} onClick={() => {
|
||||
setState((draft) => {
|
||||
draft.selectLang = item.key
|
||||
})
|
||||
}}>
|
||||
<SpCheckbox
|
||||
checked={item.key == state.selectLang}
|
||||
canCancel={item.key == state.selectLang}
|
||||
onChange={(e) => {
|
||||
setState((draft) => {
|
||||
draft.selectLang = item.key
|
||||
})
|
||||
}}
|
||||
>
|
||||
{item.name}
|
||||
</SpCheckbox>
|
||||
|
||||
Reference in New Issue
Block a user