Ver código fonte

fix: typecheck error

Jacky 5 meses atrás
pai
commit
ed0dca6820

+ 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>