解决一个小问题
parent
76970ecb53
commit
cc7fcc7b71
|
@ -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);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue