Skip to content

Commit

Permalink
fix: device table
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed Apr 29, 2022
1 parent 6e8eaad commit a2c51c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/views/DeviceCloud/manage/editdevices.vue
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,9 @@
<el-tabs v-model="amisTable" type="border-card">
<el-tab-pane
v-for="(item, index) in commandInfo.data"
:key="index"
:key="index+'_j'"
:label="item.title"
:name="index"
:name="index+'_j'"
>
<dgiot-amis :schema="item.data" :show-help="false" />
</el-tab-pane>
Expand All @@ -643,7 +643,6 @@
<el-tab-pane label="视频监控" name="video">
<dgiot-aliplayer
ref="dgiotPlayer"
autoplay="true"
height="76vh"
:playsource="
deviceInfo.detail && deviceInfo.detail.videoSrc
Expand Down
2 changes: 1 addition & 1 deletion src/views/DeviceCloud/manage/js/editdevices.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default {
dialog: false,
data: {},
},
amisTable: 0,
amisTable: '0_j',
bmLabel: false,
mapLabel: {
content: '我爱北京天安门',
Expand Down

0 comments on commit a2c51c6

Please sign in to comment.