fix js report errors

This commit is contained in:
kuaifan 2021-12-11 23:19:08 +08:00
parent f260d83923
commit 3260e5127a
3 changed files with 9 additions and 1 deletions

View File

@ -146,7 +146,11 @@ export default {
scrollY: wScrollY, //滚动的距离 scrollY: wScrollY, //滚动的距离
scrollE: bScrollH - wInnerH - wScrollY, //与底部距离 scrollE: bScrollH - wInnerH - wScrollY, //与底部距离
} }
} },
querySelector(el) {
return this.$refs.scrollerView && this.$refs.scrollerView.querySelector(el)
},
} }
} }
</script> </script>

View File

@ -55,6 +55,8 @@ export default {
{ {
title: this.$L('ID'), title: this.$L('ID'),
key: 'id', key: 'id',
minWidth: 50,
maxWidth: 70,
}, },
{ {
title: this.$L('项目名称'), title: this.$L('项目名称'),

View File

@ -67,6 +67,8 @@ export default {
{ {
title: this.$L('ID'), title: this.$L('ID'),
key: 'id', key: 'id',
minWidth: 50,
maxWidth: 70,
}, },
{ {
title: this.$L('项目名称'), title: this.$L('项目名称'),