Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2025-09-09 19:46:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b556f224af5f887c72b31580e087d934c466c4d8
b556f224
1 parent
ebce2cfb
fix(RadioField): 修复编辑模式下补充输入框值未正确设置的问题
确保在编辑模式下同时设置单选框值和补充输入框的值,并触发onBlur方法处理补充信息
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/components/RadioField/index.vue
src/components/RadioField/index.vue
View file @
b556f22
...
...
@@ -184,12 +184,15 @@ onMounted(() => {
default_affix_value.value = part2;
// 编辑模式下处理
radio_value.value = part1; // 单选框勾选
affix_value.value = part2; // 设置补充输入框的值
// 补充输入框显示
const options = props.item.component_props.options;
// 为选中项目的补充
清空
// 为选中项目的补充
信息赋值
options.forEach(element => {
if (element.value === radio_value.value) {
element.affix = part2
element.affix = part2;
// 触发onBlur方法处理补充信息
onBlur(element);
}
});
} else {
...
...
Please
register
or
login
to post a comment