diff --git a/resources/assets/js/components/ScrollerY.vue b/resources/assets/js/components/ScrollerY.vue index c6cdf15a0..e09ad6bb0 100644 --- a/resources/assets/js/components/ScrollerY.vue +++ b/resources/assets/js/components/ScrollerY.vue @@ -146,7 +146,11 @@ export default { scrollY: wScrollY, //滚动的距离 scrollE: bScrollH - wInnerH - wScrollY, //与底部距离 } - } + }, + + querySelector(el) { + return this.$refs.scrollerView && this.$refs.scrollerView.querySelector(el) + }, } } diff --git a/resources/assets/js/pages/manage/components/ProjectArchived.vue b/resources/assets/js/pages/manage/components/ProjectArchived.vue index f2b0bffba..9705a9eb1 100644 --- a/resources/assets/js/pages/manage/components/ProjectArchived.vue +++ b/resources/assets/js/pages/manage/components/ProjectArchived.vue @@ -55,6 +55,8 @@ export default { { title: this.$L('ID'), key: 'id', + minWidth: 50, + maxWidth: 70, }, { title: this.$L('项目名称'), diff --git a/resources/assets/js/pages/manage/components/ProjectManagement.vue b/resources/assets/js/pages/manage/components/ProjectManagement.vue index 5fef38b6d..d599bbdea 100644 --- a/resources/assets/js/pages/manage/components/ProjectManagement.vue +++ b/resources/assets/js/pages/manage/components/ProjectManagement.vue @@ -67,6 +67,8 @@ export default { { title: this.$L('ID'), key: 'id', + minWidth: 50, + maxWidth: 70, }, { title: this.$L('项目名称'),