docs: docs
parent
85253e307c
commit
d5f95c2efe
|
@ -2,7 +2,7 @@
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://img.shields.io/badge/-Vue3.2-34495e?logo=vue.j" />
|
<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/-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/-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/-ESLint-4b32c3?logo=eslint&logoColor=white" />
|
||||||
<img src="https://img.shields.io/badge/-pnpm7-F69220?logo=pnpm&logoColor=white" />
|
<img src="https://img.shields.io/badge/-pnpm7-F69220?logo=pnpm&logoColor=white" />
|
||||||
|
@ -82,7 +82,7 @@ pnpm install
|
||||||
- 运行项目
|
- 运行项目
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm run dev
|
pnpm dev
|
||||||
```
|
```
|
||||||
|
|
||||||
- 打包
|
- 打包
|
||||||
|
@ -103,7 +103,13 @@ pnpm add 包名
|
||||||
pnpm remove 包名
|
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
|
@ -227,7 +227,6 @@ export default defineComponent({
|
||||||
{...(autoSetPlaceholder && setTextPlaceholder(item))}
|
{...(autoSetPlaceholder && setTextPlaceholder(item))}
|
||||||
{...setComponentProps(item)}
|
{...setComponentProps(item)}
|
||||||
style={item.componentProps?.style}
|
style={item.componentProps?.style}
|
||||||
{...item.componentProps?.props}
|
|
||||||
{...(notRenderOptions.includes(item?.component as string) &&
|
{...(notRenderOptions.includes(item?.component as string) &&
|
||||||
item?.componentProps?.options
|
item?.componentProps?.options
|
||||||
? { options: item?.componentProps?.options || [] }
|
? { options: item?.componentProps?.options || [] }
|
||||||
|
|
|
@ -25,7 +25,7 @@ defineExpose({
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<vxe-table ref="dragTable" :data="info" stripe :column-config="{ resizable: true }">
|
<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">
|
<vxe-column title="字段描述" field="columnComment">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-input v-model="row.columnComment" />
|
<el-input v-model="row.columnComment" />
|
||||||
|
|
|
@ -87,10 +87,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: authorizedGrantOptions,
|
options: authorizedGrantOptions,
|
||||||
props: {
|
multiple: true,
|
||||||
multiple: true,
|
filterable: true
|
||||||
filterable: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -102,12 +100,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: [],
|
options: [],
|
||||||
props: {
|
multiple: true,
|
||||||
multiple: true,
|
filterable: true,
|
||||||
filterable: true,
|
allowCreate: true,
|
||||||
allowCreate: true,
|
defaultFirstOption: true
|
||||||
defaultFirstOption: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -119,12 +115,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: [],
|
options: [],
|
||||||
props: {
|
multiple: true,
|
||||||
multiple: true,
|
filterable: true,
|
||||||
filterable: true,
|
allowCreate: true,
|
||||||
allowCreate: true,
|
defaultFirstOption: true
|
||||||
defaultFirstOption: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -136,12 +130,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: [],
|
options: [],
|
||||||
props: {
|
multiple: true,
|
||||||
multiple: true,
|
filterable: true,
|
||||||
filterable: true,
|
allowCreate: true,
|
||||||
allowCreate: true,
|
defaultFirstOption: true
|
||||||
defaultFirstOption: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -153,12 +145,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: [],
|
options: [],
|
||||||
props: {
|
multiple: true,
|
||||||
multiple: true,
|
filterable: true,
|
||||||
filterable: true,
|
allowCreate: true,
|
||||||
allowCreate: true,
|
defaultFirstOption: true
|
||||||
defaultFirstOption: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -170,12 +160,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: [],
|
options: [],
|
||||||
props: {
|
multiple: true,
|
||||||
multiple: true,
|
filterable: true,
|
||||||
filterable: true,
|
allowCreate: true,
|
||||||
allowCreate: true,
|
defaultFirstOption: true
|
||||||
defaultFirstOption: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue