解决小问题

main
wuyize 2022-07-09 10:53:26 +08:00
parent 7710ac1377
commit 76970ecb53
2 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ export default {
this.dynamicTags = []; this.dynamicTags = [];
}, },
(err) => { (err) => {
this.$message.error("用户名不存在"); this.$message.error("添加失败");
} }
) )
.catch(function (error) { .catch(function (error) {

View File

@ -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: {