Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-12-20 17:53:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b7c01f59eb0d742d0b0a1f5a993b0a7ac32d3a91
b7c01f59
1 parent
a4cbc9d8
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/App.vue
src/App.vue
View file @
b7c01f5
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-20 17:
45:57
* @LastEditTime: 2024-12-20 17:
53:24
* @FilePath: /data-table/src/App.vue
* @Description:
-->
...
...
@@ -164,10 +164,10 @@ onMounted(async () => {
wx.showAllNonBaseMenuItem();
// TEST:判断定位填表功能, 可能会弹出来上一次的表单提示,因为如果定位正确时还是需要恢复相应的表单
let open_location = false;
if (force_back !== '1' && open_location) { // 非后台用户模式
const targetLat = 31.278001;
const targetLng = 121.542778;
const radius = 1000; // 半径 1000 米
if (force_back !== '1' && open_location) { // 非后台用户模式
wx.getLocation({
type: 'wgs84', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
success: function (res) {
...
...
Please
register
or
login
to post a comment