hookehuyr

fix 修复补充信息填写逻辑

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-13 18:38:10 4 + * @LastEditTime: 2024-06-14 10:12:00
5 * @FilePath: /data-table/src/components/CheckboxField/index.vue 5 * @FilePath: /data-table/src/components/CheckboxField/index.vue
6 * @Description: 多项选择控件 6 * @Description: 多项选择控件
7 --> 7 -->
...@@ -134,6 +134,7 @@ onMounted(() => { ...@@ -134,6 +134,7 @@ onMounted(() => {
134 checkbox_value.value.forEach(x => { 134 checkbox_value.value.forEach(x => {
135 if (item.value === x) { 135 if (item.value === x) {
136 item.checked = true; 136 item.checked = true;
137 + affix_value.value[item.value] = item.affix ? `${item.title}: ${item.affix}` : '';
137 } 138 }
138 }) 139 })
139 }); 140 });
......