|
@@ -32,6 +32,8 @@
|
|
|
/>
|
|
|
<el-button
|
|
|
v-else
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
class="button-new-tag"
|
|
|
@click="showInput"
|
|
|
>+ 添加</el-button>
|
|
@@ -82,9 +84,9 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
if (this.data.row.id) {
|
|
|
- const { name, keyword, id } = this.data.row
|
|
|
+ const { name, keywords, id } = this.data.row
|
|
|
this.ruleForm.name = name
|
|
|
- this.ruleForm.keywords = keyword.split('、')
|
|
|
+ this.ruleForm.keywords = keywords
|
|
|
this.ruleForm.id = id
|
|
|
}
|
|
|
},
|