Browse Source
Merge pull request #441 from hotcoffie/wvp-28181-2.0
修复前端一处v-for没有key的警告
pull/444/head
648540858
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
web_src/src/components/control.vue
-
web_src/src/components/live.vue
|
@ -41,7 +41,7 @@ |
|
|
<template slot="extra"> |
|
|
<template slot="extra"> |
|
|
<el-button style="float: right;" type="primary" size="mini" icon="el-icon-document-copy" title="点击拷贝" v-clipboard="JSON.stringify(wvpServerConfig.sip)|| ''" @success="$message({type:'success', message:'成功拷贝到粘贴板'})"></el-button> |
|
|
<el-button style="float: right;" type="primary" size="mini" icon="el-icon-document-copy" title="点击拷贝" v-clipboard="JSON.stringify(wvpServerConfig.sip)|| ''" @success="$message({type:'success', message:'成功拷贝到粘贴板'})"></el-button> |
|
|
</template> |
|
|
</template> |
|
|
<el-descriptions-item v-for="(value, key, index) in wvpServerConfig.sip"> |
|
|
<el-descriptions-item v-for="(value, key, index) in wvpServerConfig.sip" :key="key"> |
|
|
<template slot="label"> |
|
|
<template slot="label"> |
|
|
{{ getNameFromKey(key) }} |
|
|
{{ getNameFromKey(key) }} |
|
|
</template> |
|
|
</template> |
|
|
|
@ -4,7 +4,7 @@ |
|
|
<el-header> |
|
|
<el-header> |
|
|
<uiHeader></uiHeader> |
|
|
<uiHeader></uiHeader> |
|
|
</el-header> |
|
|
</el-header> |
|
|
<el-container v-loading="loading" element-loading-text="拼命加载中"> |
|
|
<el-container v-loading="loading" element-loading-text="拼命加载中" style="margin: 0 20px;"> |
|
|
<el-aside width="300px" style="background-color: #ffffff"> |
|
|
<el-aside width="300px" style="background-color: #ffffff"> |
|
|
<div style="text-align: center;padding-top: 20px;">设备列表</div> |
|
|
<div style="text-align: center;padding-top: 20px;">设备列表</div> |
|
|
<el-menu v-loading="loading"> |
|
|
<el-menu v-loading="loading"> |
|
|