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

调整Element为UniElement

上级 0c1bdf1c
......@@ -80,8 +80,8 @@
},
// 工具方法,用于快速设置 Element 的 style
setElementStyle(refName : string, propertyName : string, propertyStyle : any) : void {
const elementMap = this.$data['$elementMap'] as Map<string, Element>
let element : Element | null = elementMap.get(refName)
const elementMap = this.$data['$elementMap'] as Map<string, UniElement>
let element : UniElement | null = elementMap.get(refName)
if (element == null) {
element = this.$refs[refName] as UniElement;
elementMap.set(refName, element)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册