From 07d379eae133f42589e37ae31d1a05f65e4d6d4d Mon Sep 17 00:00:00 2001 From: likun <906102152@qq.com> Date: Mon, 19 May 2025 18:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E5=8E=86=E5=8F=B2=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/user/history.vue | 10 +++++----- ui/src/views/user/history.vue | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/src/components/user/history.vue b/ui/src/components/user/history.vue index 79276c0..5721ebd 100644 --- a/ui/src/components/user/history.vue +++ b/ui/src/components/user/history.vue @@ -10,10 +10,11 @@ const props = defineProps({ }) let disableConditionInput1 = true -if (props.disableConditionInput) { - disableConditionInput1 = props.disableConditionInput +if (props.disableConditionInput === false) { + disableConditionInput1 = false } -console.log("禁止搜索框:", disableConditionInput1) +// console.log("禁止搜索框:", disableConditionInput1) +// console.log("禁止搜索框:", props.disableConditionInput) const isAdminCharacter = userStore().userInfo.character === 'admin' const hasListPermit = ref(isAdminCharacter) @@ -171,14 +172,13 @@ const handlePaginationCurChange = (val) => { .app-content1 { - height: calc(100vh - 500px); + height: calc(100vh - 300px); display: flex; .table-content { display: flex; flex-direction: column; justify-content: space-between; - height: 100%; overflow: auto; .table { diff --git a/ui/src/views/user/history.vue b/ui/src/views/user/history.vue index 2899ff4..386db04 100644 --- a/ui/src/views/user/history.vue +++ b/ui/src/views/user/history.vue @@ -2,10 +2,12 @@ import tableHistory from "@/components/user/history.vue"; +const flag = false +