From d35b12f8a9c822a5f899697bbac7d0e644f86e43 Mon Sep 17 00:00:00 2001 From: Master Date: Fri, 5 Jul 2024 11:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E7=89=88=20=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm b/Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm index 82f76514..27291731 100644 --- a/Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm +++ b/Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm @@ -292,8 +292,11 @@ const fetchData = async (tableParams: any) => { // 重置操作 const resetQuery = () => { - state.queryParams.title = undefined; - state.queryParams.type = undefined; + @if(Model.QueryWhetherList.Count > 0) { + @foreach (var column in Model.QueryWhetherList) { + @:@(@column.LowerPropertyName): undefined, + } + } handleQuery(true); };