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-02-07 10:50:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0dec2705497c33f0ca3c3b968d4ce393c2fd2f5e
0dec2705
1 parent
5a1c5e88
✨ feat(单行输入/多行输入/数字输入): 新增控件文字说明
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
src/components/NumberField/index.vue
src/components/TextField/index.vue
src/components/TextareaField/index.vue
src/components/NumberField/index.vue
View file @
0dec270
<!--
* @Date: 2022-09-14 14:44:30
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
2-12-29 11:29:46
* @LastEditTime: 202
3-02-07 10:39:14
* @FilePath: /data-table/src/components/NumberField/index.vue
* @Description: 数字输入框
-->
...
...
@@ -11,6 +11,11 @@
{{ item.component_props.label }}
<span v-if="item.component_props.required"> *</span>
</div>
<div
v-if="item.component_props.note"
v-html="item.component_props.note"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre;"
/>
<van-field
v-model="item.value"
:id="item.name"
...
...
src/components/TextField/index.vue
View file @
0dec270
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-02-0
1 10:08:34
* @LastEditTime: 2023-02-0
7 10:40:40
* @FilePath: /data-table/src/components/TextField/index.vue
* @Description: 单行文本输入框
-->
...
...
@@ -11,6 +11,11 @@
{{ item.component_props.label
}}<span v-if="item.component_props.required"> *</span>
</div>
<div
v-if="item.component_props.note"
v-html="item.component_props.note"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre;"
/>
<van-field
v-model="item.value"
:name="item.name"
...
...
src/components/TextareaField/index.vue
View file @
0dec270
...
...
@@ -11,6 +11,11 @@
{{ item.component_props.label
}}<span v-if="item.component_props.required"> *</span>
</div>
<div
v-if="item.component_props.note"
v-html="item.component_props.note"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre;"
/>
<van-field
v-model="item.value"
:name="item.name"
...
...
Please
register
or
login
to post a comment