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

更新 get-location 示例。#5666

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