提交 3a047e95 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

更新 get-location 示例。#5666

上级 b09e4127
...@@ -141,6 +141,11 @@ ...@@ -141,6 +141,11 @@
break; break;
} }
} }
if (e.detail.value == "system") {
this.current = 0
} else if (e.detail.value == "tencent") {
this.current = 1
}
}, },
getLocationTap: function () { getLocationTap: function () {
if (this.providerList.length == 0) { if (this.providerList.length == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册