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-19 17:02:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c3ca4728cc8ac17d265f73df8f0f696bb441937
5c3ca472
1 parent
082025e6
fix
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 @
5c3ca47
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-19 1
6:51:10
* @LastEditTime: 2024-07-19 1
7:01:48
* @FilePath: /data-table/src/components/RadioField/index.vue
* @Description: 单项选择控件
-->
...
...
@@ -31,7 +31,10 @@
<div v-if="x.desc_type === 'url'" class="rule-box" @click="showUrl(x)">
{{ x.desc_btn_name }} <van-icon name="link-o" />
</div>
<van-field v-if="radio_value === x.value && x.is_input" @blur="onBlur(x)" v-model="x.affix" label=" " label-width="5px"
<van-field
v-if="!item.component_props.readonly && radio_value === x.value && x.is_input"
@blur="onBlur(x)" v-model="x.affix"
label=" " label-width="5px"
:placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" :required="x.input_required"
class="affix-input" />
</div>
...
...
Please
register
or
login
to post a comment