docs: docs

This commit is contained in:
xingyu4j
2022-11-18 09:20:11 +08:00
parent 85253e307c
commit d5f95c2efe
5 changed files with 5696 additions and 3822 deletions

View File

@ -227,7 +227,6 @@ export default defineComponent({
{...(autoSetPlaceholder && setTextPlaceholder(item))}
{...setComponentProps(item)}
style={item.componentProps?.style}
{...item.componentProps?.props}
{...(notRenderOptions.includes(item?.component as string) &&
item?.componentProps?.options
? { options: item?.componentProps?.options || [] }

View File

@ -25,7 +25,7 @@ defineExpose({
</script>
<template>
<vxe-table ref="dragTable" :data="info" stripe :column-config="{ resizable: true }">
<vxe-column title="字段列名" field="columnName" width="10%" />
<vxe-column title="字段列名" field="columnName" fixed="left" width="80" />
<vxe-column title="字段描述" field="columnComment">
<template #default="{ row }">
<el-input v-model="row.columnComment" />

View File

@ -87,10 +87,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'Select',
componentProps: {
options: authorizedGrantOptions,
props: {
multiple: true,
filterable: true
}
multiple: true,
filterable: true
}
}
},
@ -102,12 +100,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'Select',
componentProps: {
options: [],
props: {
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
}
},
@ -119,12 +115,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'Select',
componentProps: {
options: [],
props: {
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
}
},
@ -136,12 +130,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'Select',
componentProps: {
options: [],
props: {
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
}
},
@ -153,12 +145,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'Select',
componentProps: {
options: [],
props: {
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
}
},
@ -170,12 +160,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'Select',
componentProps: {
options: [],
props: {
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
multiple: true,
filterable: true,
allowCreate: true,
defaultFirstOption: true
}
}
},