Skip to content

Commit

Permalink
feat: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuanliang committed Feb 21, 2024
1 parent c996ec5 commit 732dd97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 123 deletions.
63 changes: 2 additions & 61 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,31 +125,7 @@ const form = reactive<IFormConfig>({
config: {}, // <form-item> Props
options: [], // select options
},
{
type: 'input',
key: 'userName',
label: '登录名',
config: {}, // <form-item> Props
},
{
type: 'input',
key: 'nickName',
label: '用户名称',
config: {}, // <form-item> Props
},
{
type: 'select',
key: 'role',
label: '用户角色',
config: {}, // <form-item> Props
options: [], // select options
},
{
type: 'input',
key: 'phoneNumber',
label: '手机号码',
config: {}, // <form-item> Props
},
...,
{
type: 'dateRangePicker',
key: 'updateTime',
Expand Down Expand Up @@ -180,42 +156,7 @@ const table = reactive<TableConfig<UserManagementRecord>>({
sortDirections: ['ascend', 'descend'],
},
},
{
title: '用户姓名',
dataIndex: 'nickName',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
title: '医院名称',
dataIndex: 'hospitalName',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
title: '手机号',
dataIndex: 'phoneNumber',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
title: '操作时间',
dataIndex: 'operateTime',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
...,
{
title: '操作',
slotName: 'operation',
Expand Down
63 changes: 2 additions & 61 deletions packages/table-basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,31 +125,7 @@ const form = reactive<IFormConfig>({
config: {}, // <form-item> Props
options: [], // select options
},
{
type: 'input',
key: 'userName',
label: '登录名',
config: {}, // <form-item> Props
},
{
type: 'input',
key: 'nickName',
label: '用户名称',
config: {}, // <form-item> Props
},
{
type: 'select',
key: 'role',
label: '用户角色',
config: {}, // <form-item> Props
options: [], // select options
},
{
type: 'input',
key: 'phoneNumber',
label: '手机号码',
config: {}, // <form-item> Props
},
...,
{
type: 'dateRangePicker',
key: 'updateTime',
Expand Down Expand Up @@ -180,42 +156,7 @@ const table = reactive<TableConfig<UserManagementRecord>>({
sortDirections: ['ascend', 'descend'],
},
},
{
title: '用户姓名',
dataIndex: 'nickName',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
title: '医院名称',
dataIndex: 'hospitalName',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
title: '手机号',
dataIndex: 'phoneNumber',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
title: '操作时间',
dataIndex: 'operateTime',
ellipsis: true,
tooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
...,
{
title: '操作',
slotName: 'operation',
Expand Down
2 changes: 1 addition & 1 deletion packages/table-basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-arco-table",
"version": "0.5.1",
"version": "0.5.2",
"description": "vue3封装的table+form组件库",
"private": false,
"scripts": {
Expand Down

0 comments on commit 732dd97

Please sign in to comment.