Prechádzať zdrojové kódy

!826 update Web/src/components/table/index.vue.
Merge pull request !826 from inypeacock/N/A

zuohuaijun 2 rokov pred
rodič
commit
17380afae5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Web/src/components/table/index.vue

+ 1 - 1
Web/src/components/table/index.vue

@@ -315,7 +315,7 @@ const handleList = async () => {
 	Object.keys(param).forEach((key) => !param[key] && delete param[key]);
 	const res = await props.getData(param);
 	state.loading = false;
-	if (res.result.items) {
+	if (res.result && res.result.items) {
 		state.showPagination = true;
 		state.data = res.result?.items ?? [];
 		state.total = res.result?.total ?? 0;