From 89a9259c1ce9502708ad6b5cd53f62014b30e59a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A5=9E=E4=BB=99=E9=83=BD=E6=B2=A1=E7=94=A8?=
<615206459@qq.com>
Date: Sat, 2 Dec 2023 20:09:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=BB=98=E8=AE=A4=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
packages/crud/package.json | 2 +-
packages/crud/src/components/form/index.tsx | 2 +-
packages/crud/src/static/index.scss | 6 +-
.../base/pages/main/components/amenu.vue | 72 ++++++++++-----
.../base/pages/main/components/bmenu.tsx | 9 +-
.../base/pages/main/components/process.vue | 7 +-
src/modules/base/store/menu.ts | 92 +++++++++----------
src/modules/base/store/process.ts | 2 +-
src/modules/base/types/index.d.ts | 2 +
src/modules/base/views/param.vue | 2 +-
src/modules/crud/config.ts | 8 +-
src/modules/demo/components/select-user.vue | 6 +-
src/modules/demo/views/crud.vue | 9 +-
yarn.lock | 8 +-
15 files changed, 128 insertions(+), 101 deletions(-)
diff --git a/package.json b/package.json
index 13288b5..ff2b380 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
"lint:eslint": "eslint \"./src/**/*.{vue,ts,tsx}\" --fix"
},
"dependencies": {
- "@cool-vue/crud": "^7.0.7",
+ "@cool-vue/crud": "^7.0.8",
"@element-plus/icons-vue": "^2.1.0",
"@vueuse/core": "^10.4.0",
"@wangeditor/editor": "^5.1.23",
diff --git a/packages/crud/package.json b/packages/crud/package.json
index 8ca24e1..6da4455 100644
--- a/packages/crud/package.json
+++ b/packages/crud/package.json
@@ -1,6 +1,6 @@
{
"name": "@cool-vue/crud",
- "version": "7.0.7",
+ "version": "7.0.8",
"private": false,
"main": "./dist/index.umd.min.js",
"typings": "types/index.d.ts",
diff --git a/packages/crud/src/components/form/index.tsx b/packages/crud/src/components/form/index.tsx
index 268d75d..782d577 100644
--- a/packages/crud/src/components/form/index.tsx
+++ b/packages/crud/src/components/form/index.tsx
@@ -1,5 +1,5 @@
import { defineComponent, h, nextTick } from "vue";
-import { cloneDeep, isBoolean, isEmpty } from "lodash-es";
+import { cloneDeep, isBoolean } from "lodash-es";
import { useAction, useForm, usePlugins, useTabs } from "./helper";
import { useBrowser, useConfig, useElApi, useRefs } from "../../hooks";
import { getValue, merge } from "../../utils";
diff --git a/packages/crud/src/static/index.scss b/packages/crud/src/static/index.scss
index da577de..f2d56b0 100644
--- a/packages/crud/src/static/index.scss
+++ b/packages/crud/src/static/index.scss
@@ -1,6 +1,6 @@
.cl-crud {
height: 100%;
- overflow: auto;
+ overflow: hidden auto;
position: relative;
box-sizing: border-box;
background-color: #fff;
@@ -362,7 +362,9 @@
position: absolute;
bottom: -1px;
left: 0;
- transition: transform 0.3s ease-in-out, width 0.2s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
+ transition:
+ transform 0.3s ease-in-out,
+ width 0.2s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
background-color: var(--el-color-primary);
}
diff --git a/src/modules/base/pages/main/components/amenu.vue b/src/modules/base/pages/main/components/amenu.vue
index 3279895..5e620d6 100644
--- a/src/modules/base/pages/main/components/amenu.vue
+++ b/src/modules/base/pages/main/components/amenu.vue
@@ -6,10 +6,10 @@
background-color="transparent"
@select="select"
>
-
-
+
+
-
+
@@ -17,52 +17,82 @@