Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-30 11:34:19 | 2 | * @Date: 2022-08-30 11:34:19 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-06-14 10:12:00 | 4 | + * @LastEditTime: 2024-07-19 16:55:56 |
| 5 | * @FilePath: /data-table/src/components/CheckboxField/index.vue | 5 | * @FilePath: /data-table/src/components/CheckboxField/index.vue |
| 6 | * @Description: 多项选择控件 | 6 | * @Description: 多项选择控件 |
| 7 | --> | 7 | --> |
| ... | @@ -113,7 +113,7 @@ onMounted(() => { | ... | @@ -113,7 +113,7 @@ onMounted(() => { |
| 113 | arr.forEach(item => { | 113 | arr.forEach(item => { |
| 114 | if (item.includes(':')) { | 114 | if (item.includes(':')) { |
| 115 | let parts = item.split(': '); | 115 | let parts = item.split(': '); |
| 116 | - obj[parts[0]] = parseInt(parts[1]); | 116 | + obj[parts[0]] = (parts[1]); |
| 117 | } | 117 | } |
| 118 | }); | 118 | }); |
| 119 | checkbox_value.value = titles; | 119 | checkbox_value.value = titles; | ... | ... |
-
Please register or login to post a comment