浏览代码

fix(std-table): filter return unexpected result in trash

Jacky 9 月之前
父节点
当前提交
2a275ced14
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/components/StdDesign/StdDataDisplay/StdTable.vue

+ 1 - 1
app/src/components/StdDesign/StdDataDisplay/StdTable.vue

@@ -163,6 +163,7 @@ watch(filterParams, () => {
   Object.assign(params, {
     ...filterParams,
     page: 1,
+    trash: route.query.trash === 'true',
   })
 })
 
@@ -175,7 +176,6 @@ onMounted(() => {
 
     Object.assign(filterParams, {
       ...route.query,
-      trash: route.query.trash === 'true',
     })
   }