解决一个小问题

main
wuyize 2022-07-09 10:58:31 +08:00
parent 76970ecb53
commit cc7fcc7b71
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
v-for="tag in dynamicTags" v-for="tag in dynamicTags"
closable closable
:disable-transitions="false" :disable-transitions="false"
@close="handleClose(tag)" @close="handleClose2(tag)"
> >
{{ tag }} {{ tag }}
</el-tag> </el-tag>
@ -90,7 +90,7 @@ export default {
dialogFormVisible: Boolean, dialogFormVisible: Boolean,
}, },
methods: { methods: {
handleClose(tag) { handleClose2(tag) {
this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1); this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
}, },