docs: docs

pull/2/head
xingyu4j 2022-11-18 09:20:11 +08:00
parent 85253e307c
commit d5f95c2efe
5 changed files with 5696 additions and 3822 deletions

View File

@ -2,7 +2,7 @@
<p align="center">
<img src="https://img.shields.io/badge/-Vue3.2-34495e?logo=vue.j" />
<img src="https://img.shields.io/badge/-Vite3-646cff?logo=vite&logoColor=white" />
<img src="https://img.shields.io/badge/-TypeScript4.8-blue?logo=typescript&logoColor=white" />
<img src="https://img.shields.io/badge/-TypeScript4.9-blue?logo=typescript&logoColor=white" />
<img src="https://img.shields.io/badge/-Pinia2-yellow?logo=picpay&logoColor=white" />
<img src="https://img.shields.io/badge/-ESLint-4b32c3?logo=eslint&logoColor=white" />
<img src="https://img.shields.io/badge/-pnpm7-F69220?logo=pnpm&logoColor=white" />
@ -82,7 +82,7 @@ pnpm install
- 运行项目
```bash
pnpm run dev
pnpm dev
```
- 打包
@ -103,7 +103,13 @@ pnpm add 包名
pnpm remove 包名
```
- 其他命令请看 package.json
- 设置镜像源
```bash
pnpm config set registry https://registry.npm.taobao.org/
```
- 其他命令请看 package.json scripts
## 浏览器支持

File diff suppressed because it is too large Load Diff

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
}
}
},