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
2024-07-30 10:09:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6f92850d5fa6cbf8e2a2c1d56e10332307d88707
6f92850d
1 parent
0f16e820
fix 单选按钮只读模式下,获取默认值的逻辑优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/components/RadioField/index.vue
src/components/RadioField/index.vue
View file @
6f92850
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-
26 22:13:18
* @LastEditTime: 2024-07-
30 10:07:43
* @FilePath: /data-table/src/components/RadioField/index.vue
* @Description: 单项选择控件
-->
...
...
@@ -146,6 +146,8 @@ onMounted(() => {
element.affix = part2
}
});
} else {
default_value.value = props.item.component_props.default;
}
// 发送自定义数据结构
props.item.value = { key: props.item.key, value: radio_value.value, affix: affix_value.value, type: "radio" };
...
...
Please
register
or
login
to post a comment