Commit fa48ff652f8d9414011b943dad5d0c9a0281501b
1 parent
b12ddb6c
perf: cmera manage add not found data
Showing
1 changed file
with
5 additions
and
1 deletions
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | import { PageWrapper } from '/@/components/Page'; |
3 | 3 | import OrganizationIdTree from '../../common/organizationIdTree/src/OrganizationIdTree.vue'; |
4 | 4 | import { computed, onMounted, reactive, ref, unref, watch } from 'vue'; |
5 | - import { Tabs, Row, Col, Spin, Button, Pagination } from 'ant-design-vue'; | |
5 | + import { Tabs, Row, Col, Spin, Button, Pagination, Empty } from 'ant-design-vue'; | |
6 | 6 | import { cameraPage } from '/@/api/camera/cameraManager'; |
7 | 7 | import { CameraRecord } from '/@/api/camera/model/cameraModel'; |
8 | 8 | import { videoPlay as VideoPlay } from 'vue3-video-play'; // 引入组件 |
... | ... | @@ -177,6 +177,10 @@ |
177 | 177 | </div> |
178 | 178 | <section ref="videoContainer" class="bg-light-50 flex-auto"> |
179 | 179 | <Spin :spinning="loading" class="h-full"> |
180 | + <Empty | |
181 | + class="h-full flex flex-col justify-center items-center" | |
182 | + v-if="!cameraList.length" | |
183 | + /> | |
180 | 184 | <Row :gutter="16" class="h-full mx-0"> |
181 | 185 | <Col |
182 | 186 | v-for="item in cameraList" | ... | ... |