Browse Source

修复前端一处v-for没有key的警告

pull/441/head
xiaoxie 3 years ago
parent
commit
4dcc7df555
  1. 2
      web_src/src/components/control.vue

2
web_src/src/components/control.vue

@ -41,7 +41,7 @@
<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>
</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">
{{ getNameFromKey(key) }}
</template>

Loading…
Cancel
Save