Ver Fonte

refactor(live-stream, lss): streamline input components and enhance formatting

- Consolidated attributes in input components for improved readability and consistency across live stream and LSS views.
- Reduced unnecessary line breaks and improved formatting in various sections, enhancing overall code clarity.
- Updated pagination and drawer structures for a more cohesive user experience.
yb há 1 semana atrás
pai
commit
0eebc89d89
2 ficheiros alterados com 1 adições e 2 exclusões
  1. 0 1
      src/views/live-stream/index.vue
  2. 1 1
      src/views/lss/index.vue

+ 0 - 1
src/views/live-stream/index.vue

@@ -419,7 +419,6 @@ import {
 import { listLiveStreams, addLiveStream, updateLiveStream, deleteLiveStream } from '@/api/live-stream'
 import { listAllLssNodes } from '@/api/lss'
 import { adminListCameras } from '@/api/camera'
-import { listAllStreamChannels } from '@/api/stream-channel'
 
 import { startStreamTask, stopStreamTask, getStreamPlayback } from '@/api/stream-push'
 import VideoPlayer from '@/components/VideoPlayer.vue'

+ 1 - 1
src/views/lss/index.vue

@@ -270,7 +270,7 @@
               </el-table-column>
               <el-table-column prop="brand" :label="t('厂商')" min-width="90">
                 <template #default="{ row }">
-                  {{ formatBrand(row.brand) }}
+                  {{ formatBrand(row.vendorName) }}
                 </template>
               </el-table-column>
               <el-table-column prop="model" label="型号" min-width="130" show-overflow-tooltip />