解决一个小问题

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