提交 c06c4272 编写于 作者: DCloud-yyl's avatar DCloud-yyl

补充 调整INode为Elemen

上级 46e6a1b2
......@@ -41,17 +41,17 @@
statusBarHeight: 35,
scrollTop: 0,
searchWidth: 700,
searchNode: null as INode | null,
boxNode: null as INode | null,
navNode: null as INode | null
searchNode: null as Element | null,
boxNode: null as Element | null,
navNode: null as Element | null
}
},
onLoad() { },
onReady() {
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight ?? 35;
this.searchNode = this.$refs['search'] as INode;
this.boxNode = this.$refs['top-box'] as INode;
this.navNode = this.$refs['scroll-fold-nav'] as INode;
this.searchNode = this.$refs['search'] as Element;
this.boxNode = this.$refs['top-box'] as Element;
this.navNode = this.$refs['scroll-fold-nav'] as Element;
},
methods: {
onScroll(e : ScrollEvent) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册