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,12 +87,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: authorizedGrantOptions,
|
options: authorizedGrantOptions,
|
||||||
props: {
|
|
||||||
multiple: true,
|
multiple: true,
|
||||||
filterable: true
|
filterable: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '授权范围',
|
title: '授权范围',
|
||||||
|
@ -102,14 +100,12 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '自动授权范围',
|
title: '自动授权范围',
|
||||||
|
@ -119,14 +115,12 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '可重定向的 URI 地址',
|
title: '可重定向的 URI 地址',
|
||||||
|
@ -136,14 +130,12 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '权限',
|
title: '权限',
|
||||||
|
@ -153,14 +145,12 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '资源',
|
title: '资源',
|
||||||
|
@ -170,14 +160,12 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '附加信息',
|
title: '附加信息',
|
||||||
|
|
Loading…
Reference in New Issue