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-12-23 15:44:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
60780ae1a0fd5f068da0cc13ade6b10c426212d6
60780ae1
1 parent
7bc47ea1
fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
src/components/CheckboxField/index.vue
src/components/GenderField/index.vue
src/components/RadioField/index.vue
src/components/CheckboxField/index.vue
View file @
60780ae
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-23 15:
12:47
* @LastEditTime: 2024-12-23 15:
44:01
* @FilePath: /data-table/src/components/CheckboxField/index.vue
* @Description: 多项选择控件
-->
...
...
@@ -36,7 +36,7 @@
</van-checkbox-group>
</template>
</van-field>
<div v-else style="padding: 0.5rem 1rem;">
<div v-else style="padding: 0.5rem 1
.3
rem;">
<span v-for="(item, index) in checkbox_value" :key="index" style="font-size: 0.9rem;">{{ item }} </span>
</div>
</div>
...
...
src/components/GenderField/index.vue
View file @
60780ae
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-23 1
4:51:0
2
* @LastEditTime: 2024-12-23 1
5:43:5
2
* @FilePath: /data-table/src/components/GenderField/index.vue
* @Description: 性别选择控件
-->
...
...
@@ -35,7 +35,7 @@
</van-radio-group>
</template>
</van-field>
<div v-else style="padding: 0.5rem 1rem; font-size: 0.9rem;">{{ item.component_props.default }}</div>
<div v-else style="padding: 0.5rem 1
.3
rem; font-size: 0.9rem;">{{ item.component_props.default }}</div>
</div>
</template>
...
...
src/components/RadioField/index.vue
View file @
60780ae
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-23 15:
27:33
* @LastEditTime: 2024-12-23 15:
44:07
* @FilePath: /data-table/src/components/RadioField/index.vue
* @Description: 单项选择控件
-->
...
...
@@ -43,7 +43,7 @@
</van-radio-group>
</template>
</van-field>
<div v-else style="padding: 0.5rem 1rem; font-size: 0.9rem;">
<div v-else style="padding: 0.5rem 1
.3
rem; font-size: 0.9rem;">
<span>{{ default_value }}</span>
<span>{{ default_affix_value }}</span>
</div>
...
...
Please
register
or
login
to post a comment