Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b1e231
commit c047010
Showing
4 changed files
with
124 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
const BASIC_COMPONENTS = [ | ||
{ | ||
type: 'input', | ||
name: '输入框' | ||
}, | ||
{ | ||
type: 'select', | ||
name: '选择器' | ||
}, | ||
{ | ||
type: 'radio', | ||
name: '单选框' | ||
}, | ||
{ | ||
type: 'checkbox', | ||
name: '多选框' | ||
}, | ||
{ | ||
type: 'cascader', | ||
name: '级联选择器' | ||
}, | ||
{ | ||
type: 'switch', | ||
name: '开关' | ||
}, | ||
{ | ||
type: 'slider', | ||
name: '滑块' | ||
}, | ||
{ | ||
type: 'datepicker', | ||
name: '日期选择器' | ||
}, | ||
{ | ||
type: 'timeselect', | ||
name: '时间选择器' | ||
}, | ||
{ | ||
type: 'colorpicker', | ||
name: '颜色选择器' | ||
}, | ||
{ | ||
type: 'progress', | ||
name: '进度条' | ||
}, | ||
{ | ||
type: 'rate', | ||
name: '评分' | ||
}, | ||
{ | ||
type: 'tag', | ||
name: '标签' | ||
} | ||
] | ||
|
||
export { | ||
BASIC_COMPONENTS | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.