Compare commits
2 Commits
7710ac1377
...
cc7fcc7b71
Author | SHA1 | Date |
---|---|---|
wuyize | cc7fcc7b71 | |
wuyize | 76970ecb53 |
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ export default {
|
||||||
this.dynamicTags = [];
|
this.dynamicTags = [];
|
||||||
},
|
},
|
||||||
(err) => {
|
(err) => {
|
||||||
this.$message.error("用户名不存在");
|
this.$message.error("添加失败");
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
|
|
|
@ -249,9 +249,9 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const that = this
|
const that = this
|
||||||
this.viewHeight = window.innerHeight - 140;
|
this.viewHeight = window.innerHeight - 150;
|
||||||
window.onresize = () => {
|
window.onresize = () => {
|
||||||
that.viewHeight = window.innerHeight - 140;
|
that.viewHeight = window.innerHeight - 150;
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue