فهرست منبع

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',
     })
   }