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

更新语法校验错误警告

上级 26341dca
...@@ -98,8 +98,8 @@ export default { ...@@ -98,8 +98,8 @@ export default {
this.validateGeneralAttrText = '基础属性验证成功' this.validateGeneralAttrText = '基础属性验证成功'
}, },
changeHeight(){ changeHeight(){
const generalTarget = this.$refs.get('general-target') as INode const generalTarget = this.$refs['general-target'] as INode
generalTarget.style.set('height', '200px') generalTarget.style.setProperty('height', '200px')
} }
}, },
} }
......
...@@ -75,9 +75,9 @@ ...@@ -75,9 +75,9 @@
bHide = (this.lastY-this.lastY2)>3; //向下滑动计算加速度判断是否关闭,简单处理未考虑时间 bHide = (this.lastY-this.lastY2)>3; //向下滑动计算加速度判断是否关闭,简单处理未考虑时间
} }
if(bHide){ if(bHide){
switchHalfScreen(false); this.switchHalfScreen(false);
}else{ }else{
resumeHalfScreen(); this.resumeHalfScreen();
} }
}, },
onScroll(_: ScrollEvent) { onScroll(_: ScrollEvent) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册