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); };