From dc5a8f31c9461baa08b66d2a3db916176ffb5521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9C=9F=E8=B1=86=E5=93=A5?= Date: Sat, 6 Aug 2022 02:27:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=97=A0=E6=B3=95=E9=80=89=E6=8B=A9=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 15 +- src/components/QuickCrud/index.vue | 11 +- src/components/QuickForm/index.vue | 153 ++++++++++++++++--- src/layout/components/AiniMenu/index.vue | 5 +- src/layout/components/AiniMenuItem/index.vue | 9 +- src/main.ts | 20 ++- src/types/form.ts | 2 + src/views/menu/index.vue | 11 +- src/views/system/menu/index.vue | 81 +++++----- 9 files changed, 232 insertions(+), 75 deletions(-) diff --git a/README.en.md b/README.en.md index c943d1a..f6e2dfa 100644 --- a/README.en.md +++ b/README.en.md @@ -5,18 +5,22 @@ ## 简介 -quick-vue3-admin 是一款免费开源快速搭建中后台系统框架。本框架基于 vite2+element-plus 等最新主流技术并封装了通用的组件方便开发者提高工作效率。后期也会通过版本升级的方式来维护并更新,使开发者拥有一款长期并且稳定的脚手架。 +quick-vue3-admin 是一款免费开源快速搭建中后台系统框架。本框架基于 vite2、vue3、element-plus、pinia 等最新主流技术并封装了通用的组件方便开发者提高工作效率。后期也会通过版本升级的方式来维护并更新,使开发者拥有一款长期并且稳定的脚手架。本团队还提供了基于 quick 框架开发的各类业务项目,如有相关需求联系管理员。 ## 软件特色 -1. 使用前端最新技术栈 vite2、vue3 和 typescript +1. 使用 vite2、vue3、element-plus、pinia 和 typescript 等前言技术 2. 封装了通用的组件 3. 提供了系统管理常用功能模块 4. 提供权限管理模块 5. 动态菜单技术 6. 动态路由技术 -7. 前后端分离 -8. 官方提供稳定并长期维护的后端接口项目 +7. 使用 JWT 鉴权 +8. 使用中间件异常处理 +9. 前后端分离 +10. 提供免费帮助通道 +11. 免费提供框架演示环境 +12. 官方提供稳定并长期维护的 node 轻后端接口项目 ## 预览 @@ -76,7 +80,7 @@ pnpm run build ## 寻求帮助 -1. 百度尝试解决 +1. 查看官方帮助文档 2. 发起 Issue 3. 加 quick 框架 QQ 群:558795174 @@ -93,3 +97,4 @@ pnpm run build 5. 点个 star 把 6. 如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持! ![donate](./public/payImages/alipay.jpg) +7. 如需加入开源,请联系管理员 diff --git a/src/components/QuickCrud/index.vue b/src/components/QuickCrud/index.vue index 3d3a430..35ac071 100644 --- a/src/components/QuickCrud/index.vue +++ b/src/components/QuickCrud/index.vue @@ -64,6 +64,11 @@ const props = defineProps({ return [] }, }, + formInline: { + type: Boolean, + default: false, + }, + leftTree: { type: [Boolean, Object], default: false, @@ -113,12 +118,14 @@ const { dialogTitle, formModel, formItems, + formInline, } = toRefs(props) as { searchFormModel: Ref searchFormItems: Ref dialogTitle: Ref formModel: Ref formItems: Ref + formInline: Ref leftTree: Ref leftTreeRefresh: Ref tableData: Ref @@ -518,7 +525,8 @@ onActivated(() => { @@ -526,6 +534,7 @@ onActivated(() => { ref="quickFormRef" :model="formModel" :form-items="formItems" + :form-inline="formInline" :form-type="dialogFormType" :hidden-action="true" @submit="handleSubmit" diff --git a/src/components/QuickForm/index.vue b/src/components/QuickForm/index.vue index 725de72..59c520f 100644 --- a/src/components/QuickForm/index.vue +++ b/src/components/QuickForm/index.vue @@ -1,8 +1,9 @@ +