Skip to content

Commit

Permalink
fix(settings): fixed some console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon committed May 31, 2023
1 parent 9c6e761 commit b3a5581
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/Settings/components/ConfigDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</el-col>
</template>

<div class="config-item" v-for="(item, index) in showConfigList" :key="index">
<div class="config-item" v-for="item in showConfigList" :key="item.key">
<el-col :span="12">
<el-form-item v-bind="item.formItemAttributes">
<template slot="label">
Expand Down
2 changes: 1 addition & 1 deletion src/views/Settings/components/ConfigForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:model="recordConfig"
:rules="rules"
>
<div v-for="(key, index) in showKeyList" :key="index">
<div v-for="key in showKeyList" :key="key">
<el-col :span="14">
<el-form-item :label="key === '' ? 'listener_on' : key" :prop="key">
<template slot="label">
Expand Down

0 comments on commit b3a5581

Please sign in to comment.