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
2022-12-21 11:27:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
17e9d25b4a7548414b8ae940922102f74739c1ca
17e9d25b
1 parent
a7ca7960
下拉框样式逻辑调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/hooks/useComponentType.js
src/hooks/useComponentType.js
View file @
17e9d25
...
...
@@ -34,7 +34,7 @@ import ButtonField from '@/components/ButtonField/index.vue'
* @type textarea 多行文本 TextareaField
* @type radio 单项选择 RadioField
* @type checkbox 多项选择 CheckboxField
* @type
picker
单列选择器 PickerField
* @type
select
单列选择器 PickerField
* @type area_picker 地址选择器 AreaPickerField
* @type date_picker 日期选择器 DatePickerField
* @type time_picker 时间选择器 TimePickerField
...
...
@@ -82,7 +82,7 @@ export function createComponentType(data) {
if
(
item
.
component_props
.
tag
===
'checkbox'
)
{
item
.
component
=
CheckboxField
;
}
if
(
item
.
component_props
.
tag
===
'
picker
'
)
{
if
(
item
.
component_props
.
tag
===
'
select
'
)
{
item
.
component
=
PickerField
;
}
if
(
item
.
component_props
.
tag
===
'area_picker'
)
{
...
...
Please
register
or
login
to post a comment