Skip to content

Commit

Permalink
fix js report errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 11, 2021
1 parent f260d83 commit 3260e51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/assets/js/components/ScrollerY.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ export default {
scrollY: wScrollY, //滚动的距离
scrollE: bScrollH - wInnerH - wScrollY, //与底部距离
}
}
},
querySelector(el) {
return this.$refs.scrollerView && this.$refs.scrollerView.querySelector(el)
},
}
}
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export default {
{
title: this.$L('ID'),
key: 'id',
minWidth: 50,
maxWidth: 70,
},
{
title: this.$L('项目名称'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ export default {
{
title: this.$L('ID'),
key: 'id',
minWidth: 50,
maxWidth: 70,
},
{
title: this.$L('项目名称'),
Expand Down

0 comments on commit 3260e51

Please sign in to comment.