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