From bf4f19122f22c6a7cc6106ccdd1c79904037912e Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Fri, 15 Aug 2025 16:38:27 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/SimpleMenu/src/SimpleMenu.vue | 14 ++++++++++++++
.../IotDeviceContent/IotDeviceContentListModal.vue | 2 +-
.../components/IotDeviceContentForm.vue | 3 ++-
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/components/SimpleMenu/src/SimpleMenu.vue b/src/components/SimpleMenu/src/SimpleMenu.vue
index f5b40a4..fa646e3 100644
--- a/src/components/SimpleMenu/src/SimpleMenu.vue
+++ b/src/components/SimpleMenu/src/SimpleMenu.vue
@@ -203,6 +203,7 @@
.jeecg-menu-light.jeecg-menu-vertical .jeecg-menu-item-active.jeecg-menu-submenu {
color: #606266 !important;
background: #f0f0f0;
+ padding-bottom: 10px;;
}
.jeecg-menu-vertical .jeecg-menu-item, .jeecg-menu-vertical .jeecg-menu-submenu-title {
@@ -222,4 +223,17 @@
// margin: 10px 20px 0 20px;
transform: scale(1.02);
}
+
+.ant-drawer-close {
+ position: absolute;
+ right: 0;
+ left: auto !important;
+ margin-right: 16px;
+}
+.jeecg-layout-content{
+position: relative;
+ flex: 1 1 auto;
+ min-height: 0;
+ padding: 3px;
+}
diff --git a/src/views/deviceSync/IotDeviceContent/IotDeviceContentListModal.vue b/src/views/deviceSync/IotDeviceContent/IotDeviceContentListModal.vue
index 005598f..27607bb 100644
--- a/src/views/deviceSync/IotDeviceContent/IotDeviceContentListModal.vue
+++ b/src/views/deviceSync/IotDeviceContent/IotDeviceContentListModal.vue
@@ -4,7 +4,7 @@
关闭
- 确认
+
diff --git a/src/views/deviceSync/IotDeviceContent/components/IotDeviceContentForm.vue b/src/views/deviceSync/IotDeviceContent/components/IotDeviceContentForm.vue
index 503a535..c08e78e 100644
--- a/src/views/deviceSync/IotDeviceContent/components/IotDeviceContentForm.vue
+++ b/src/views/deviceSync/IotDeviceContent/components/IotDeviceContentForm.vue
@@ -11,7 +11,7 @@
-
+
@@ -60,6 +60,7 @@
const confirmLoading = ref(false);
//表单验证
const validatorRules = reactive({
+ content: [{ required: true, message: '请输入内容', trigger: 'blur' }],
});
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });