From 9953da6bd5f7cdc5b277c21ee50e01f2889f022e Mon Sep 17 00:00:00 2001
From: likun <906102152@qq.com>
Date: Mon, 9 Jun 2025 13:58:58 +0800
Subject: [PATCH] optimize some
---
ui/src/components/restful/table.vue | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/ui/src/components/restful/table.vue b/ui/src/components/restful/table.vue
index 17dbbff..2f32ff2 100644
--- a/ui/src/components/restful/table.vue
+++ b/ui/src/components/restful/table.vue
@@ -116,6 +116,11 @@ const handleServerRowData = (fieldsDescInfoData, rowData) => {
}
}
if (!find) {
+ if (whereFieldsDescInfo.value.length == 0) {
+ field.isFirstWhereDesc = true
+ } else {
+ field.isFirstWhereDesc = false
+ }
whereFieldsDescInfo.value.push(field)
}
}
@@ -536,34 +541,34 @@ const handlePaginationCurChange = (val) => {
+ value-format="YYYY/MM/DD HH:mm:ss" style="margin-right: 10px">
+ value-format="YYYY/MM/DD HH:mm:ss" style="margin-right: 10px">
+ style="width: 150px;margin-right: 10px" v-else>
- 条件搜索
+ 条件搜索
- 清空条件
+ 清空条件