diff --git a/pages/API/get-location/get-location.uvue b/pages/API/get-location/get-location.uvue
index e7d2c5631a3368e29fe31b882241cea078eafa66..533bb80066895ae27b2012d888c4b29e39054e3f 100644
--- a/pages/API/get-location/get-location.uvue
+++ b/pages/API/get-location/get-location.uvue
@@ -6,7 +6,7 @@
真机运行标准基座仅包含系统定位,即system。\n
部分手机因gms兼容不好可能导致无法定位。\n
gcj国标、逆地理信息等功能需三方sdk定位。如果需要类似能力可以下载腾讯定位插件,打包自定义基座。参考示例:
-
+
diff --git a/pages/component/general-attribute/general-attribute.uvue b/pages/component/general-attribute/general-attribute.uvue
index 3b3e7d751991336e119c56442f014b54a69d122c..1f4aac95eccd3595fe4a2abe2bd19bc1c41dd6c3 100644
--- a/pages/component/general-attribute/general-attribute.uvue
+++ b/pages/component/general-attribute/general-attribute.uvue
@@ -69,7 +69,7 @@ export default {
},
methods: {
validateGeneralAttributes() {
- const generalTarget = this.$refs.get('general-target') as Element
+ const generalTarget = this.$refs['general-target'] as Element
const generalId = generalTarget.getAttribute('id')
if (generalId != this.generalId) {
this.validateGeneralAttrText = '基础属性 id 验证失败'
diff --git a/pages/template/drop-card/card/card.uvue b/pages/template/drop-card/card/card.uvue
index 981847d8b1f269fd548c63fdcde48119e0b672ca..56e15b81a640d286ec7559e8ceb5d79b89a1f80b 100644
--- a/pages/template/drop-card/card/card.uvue
+++ b/pages/template/drop-card/card/card.uvue
@@ -82,7 +82,7 @@
setElementStyle(refName:string,propertyName : string, propertyStyle : any) : void {
let element : Element | null = this.$elementMap.get(refName)
if(element == null){
- element = this.$refs.get(refName) as Element;
+ element = this.$refs[refName] as Element;
this.$elementMap.set(refName,element)
}else{
// console.log('直接拿');
diff --git a/pages/template/pull-zoom-image/pull-zoom-image.uvue b/pages/template/pull-zoom-image/pull-zoom-image.uvue
index e9010315f4703bb4a8e4254aef4ed6c7aa7726cf..91722d71a088fc113af611af74580d9c41a8656b 100644
--- a/pages/template/pull-zoom-image/pull-zoom-image.uvue
+++ b/pages/template/pull-zoom-image/pull-zoom-image.uvue
@@ -64,7 +64,7 @@
setElementStyle(refName : string, propertyName : string, propertyStyle : any) : void {
let element : Element | null = this.$elementMap.get(refName)
if (element == null) {
- element = this.$refs.get(refName) as Element;
+ element = this.$refs[refName] as Element;
this.$elementMap.set(refName, element)
}
element.style.setProperty(propertyName, propertyStyle);