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-08-20 10:07:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3e7851a3c3da24dc057a07ff5c1263009d6ef223
3e7851a3
1 parent
f7f1b0e6
适配自动填写字段
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
src/components/TextField/index.vue
src/components/TextField/index.vue
View file @
3e7851a
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-1
4 15:25:59
* @LastEditTime: 2024-08-1
9 18:29:33
* @FilePath: /data-table/src/components/TextField/index.vue
* @Description: 单行文本输入框(微信扫描功能)
-->
...
...
@@ -55,6 +55,16 @@ onMounted(() => {
props.item.value = props.item.component_props.default;
});
// 监听默认值变化
watch(
() => props.item.component_props.default,
(v) => {
if (v) {
props.item.value = v;
}
}
);
// 默认识别类型
const scan_type_code = ref('ALL_CODE');
// 微信二维码扫描功能判断
...
...
Please
register
or
login
to post a comment