Showing
1 changed file
with
5 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-07-19 16:51:10 | 4 | + * @LastEditTime: 2024-07-19 17:01:48 |
| 5 | * @FilePath: /data-table/src/components/RadioField/index.vue | 5 | * @FilePath: /data-table/src/components/RadioField/index.vue |
| 6 | * @Description: 单项选择控件 | 6 | * @Description: 单项选择控件 |
| 7 | --> | 7 | --> |
| ... | @@ -31,7 +31,10 @@ | ... | @@ -31,7 +31,10 @@ |
| 31 | <div v-if="x.desc_type === 'url'" class="rule-box" @click="showUrl(x)"> | 31 | <div v-if="x.desc_type === 'url'" class="rule-box" @click="showUrl(x)"> |
| 32 | {{ x.desc_btn_name }} <van-icon name="link-o" /> | 32 | {{ x.desc_btn_name }} <van-icon name="link-o" /> |
| 33 | </div> | 33 | </div> |
| 34 | - <van-field v-if="radio_value === x.value && x.is_input" @blur="onBlur(x)" v-model="x.affix" label=" " label-width="5px" | 34 | + <van-field |
| 35 | + v-if="!item.component_props.readonly && radio_value === x.value && x.is_input" | ||
| 36 | + @blur="onBlur(x)" v-model="x.affix" | ||
| 37 | + label=" " label-width="5px" | ||
| 35 | :placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" :required="x.input_required" | 38 | :placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" :required="x.input_required" |
| 36 | class="affix-input" /> | 39 | class="affix-input" /> |
| 37 | </div> | 40 | </div> | ... | ... |
-
Please register or login to post a comment