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
2023-03-08 18:31:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
493752f1a93fec64d444fd8438407890d769ed19
493752f1
1 parent
52ead3da
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/TextField/index.vue
src/components/TextField/index.vue
View file @
493752f
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-03-08 18:
10:28
* @LastEditTime: 2023-03-08 18:
30:47
* @FilePath: /data-table/src/components/TextField/index.vue
* @Description: 单行文本输入框(微信扫描功能)
-->
...
...
@@ -15,7 +15,7 @@
<van-field v-model="item.value" :name="item.name" :type="item.type"
:placeholder="item.component_props.placeholder ? item.component_props.placeholder : '请输入'" :rules="item.rules"
:required="item.required"
:readonly="item.component_props.readonly ||
!item.component_props.is_edit_camera_scan_result
"
:readonly="item.component_props.readonly ||
(item.component_props.is_edit_camera_scan_result && !item.component_props.is_edit_camera_scan_result)
"
:disabled="item.component_props.disabled" :input-align="item.component_props.align"
:right-icon="item.component_props.is_camera_scan ? 'scan' : ''" @click-right-icon="clickRightIcon" />
</div>
...
...
Please
register
or
login
to post a comment