Browse Source

fix: typecheck error

Jacky 5 months ago
parent
commit
ed0dca6820
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/src/components/StdDesign/StdDataDisplay/StdCurd.vue

+ 2 - 2
app/src/components/StdDesign/StdDataDisplay/StdCurd.vue

@@ -164,8 +164,8 @@ async function handleClickBatchEdit(batchColumns: Column[]) {
 }
 
 function handleBatchUpdated() {
-  table.value.get_list()
-  table.value.resetSelection()
+  table.value?.get_list()
+  table.value?.resetSelection()
 }
 </script>