Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-03-03 21:15:22 | 4 | + * @LastEditTime: 2023-03-06 10:09:15 |
| 5 | * @FilePath: /data-table/src/components/TextField/index.vue | 5 | * @FilePath: /data-table/src/components/TextField/index.vue |
| 6 | * @Description: 单行文本输入框(微信扫描功能) | 6 | * @Description: 单行文本输入框(微信扫描功能) |
| 7 | --> | 7 | --> |
| ... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
| 15 | <van-field v-model="item.value" :name="item.name" :type="item.type" | 15 | <van-field v-model="item.value" :name="item.name" :type="item.type" |
| 16 | :placeholder="item.component_props.placeholder ? item.component_props.placeholder : '请输入'" :rules="item.rules" | 16 | :placeholder="item.component_props.placeholder ? item.component_props.placeholder : '请输入'" :rules="item.rules" |
| 17 | :required="item.required" | 17 | :required="item.required" |
| 18 | - :readonly="item.component_props.readonly || item.component_props.is_edit_camera_scan_result" | 18 | + :readonly="item.component_props.readonly || !item.component_props.is_edit_camera_scan_result" |
| 19 | :disabled="item.component_props.disabled" :input-align="item.component_props.align" | 19 | :disabled="item.component_props.disabled" :input-align="item.component_props.align" |
| 20 | :right-icon="item.component_props.is_camera_scan ? 'scan' : ''" @click-right-icon="clickRightIcon" /> | 20 | :right-icon="item.component_props.is_camera_scan ? 'scan' : ''" @click-right-icon="clickRightIcon" /> |
| 21 | </div> | 21 | </div> | ... | ... |
-
Please register or login to post a comment