The checkList implementation in weex-ui is left empty by clicking a button.

problem description

Mobile developers have introduced the need for weex-ui, to click the "reset" button to empty the selection when using the wxc-checkbox-list component (there is a map below). If you don"t know how to do it, ask the boss for help

related codes

<wxc-checkbox-list
  :list="brandList"
  :config="typeConfig"
  theme="search-item"
  :valueStyle="{marginRight:"20px"}"
  valuePosition="left"
  @wxcCheckBoxListChecked="wxcCheckBoxListChecked"
></wxc-checkbox-list>

clipboard.png

what result do you expect?

Click the reset button to leave it empty

Jan.11,2022

has not used weex-ui , is it not in the official demo ?

try this.brandList.splice (0);

< hr >

assume that the above code snippet can solve your problem, then the reason is:

ide/list.html-sharp%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4bd39-44e5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4bd39-44e5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?