diff --git a/src/components/CreatePersonDialog.vue b/src/components/CreatePersonDialog.vue index 4801f6a..10c3e49 100644 --- a/src/components/CreatePersonDialog.vue +++ b/src/components/CreatePersonDialog.vue @@ -150,7 +150,7 @@ export default { this.dynamicTags = []; }, (err) => { - this.$message.error("用户名不存在"); + this.$message.error("添加失败"); } ) .catch(function (error) { diff --git a/src/views/ProjectInfo.vue b/src/views/ProjectInfo.vue index b54b600..f59fafc 100644 --- a/src/views/ProjectInfo.vue +++ b/src/views/ProjectInfo.vue @@ -249,9 +249,9 @@ export default { }, mounted() { const that = this - this.viewHeight = window.innerHeight - 140; + this.viewHeight = window.innerHeight - 150; window.onresize = () => { - that.viewHeight = window.innerHeight - 140; + that.viewHeight = window.innerHeight - 150; }; }, methods: {