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

Merge branch 'dev' of gitcode.net:dcloud/hello-uni-app-x into dev

...@@ -541,14 +541,14 @@ ...@@ -541,14 +541,14 @@
}, },
{ {
"path": "pages/API/request-animation-frame/request-animation-frame", "path": "pages/API/request-animation-frame/request-animation-frame",
"group": "1,1,8,0", "group": "1,4,9,0",
"style": { "style": {
"navigationBarTitleText": "requestAnimationFrame | 加入请求帧动画队列" "navigationBarTitleText": "requestAnimationFrame | 加入请求帧动画队列"
} }
}, },
{ {
"path": "pages/API/cancel-animation-frame/cancel-animation-frame", "path": "pages/API/cancel-animation-frame/cancel-animation-frame",
"group": "1,1,8,1", "group": "1,4,9,1",
"style": { "style": {
"navigationBarTitleText": "cancelAnimationFrame | 取消已加入的帧动画队列" "navigationBarTitleText": "cancelAnimationFrame | 取消已加入的帧动画队列"
} }
...@@ -2076,21 +2076,6 @@ ...@@ -2076,21 +2076,6 @@
{ {
"id": "api.base.provider", "id": "api.base.provider",
"name": "provider" "name": "provider"
},
null,
{
"id": "api.base.animationFrame",
"name": "animationFrame",
"children": [
{
"id": "api.base.requestAnimationFrame",
"name": "requestAnimationFrame"
},
{
"id": "api.base.cancelAnimationFrame",
"name": "cancelAnimationFrame"
}
]
} }
] ]
}, },
...@@ -2167,6 +2152,21 @@ ...@@ -2167,6 +2152,21 @@
{ {
"id": "api.ui.themeChange", "id": "api.ui.themeChange",
"name": "themeChange" "name": "themeChange"
},
null,
{
"id": "api.base.animationFrame",
"name": "animationFrame",
"children": [
{
"id": "api.base.requestAnimationFrame",
"name": "requestAnimationFrame"
},
{
"id": "api.base.cancelAnimationFrame",
"name": "cancelAnimationFrame"
}
]
} }
] ]
}, },
......
...@@ -159,16 +159,6 @@ ...@@ -159,16 +159,6 @@
uni.showLoading({ uni.showLoading({
title: '定位中' title: '定位中'
}) })
console.log("provider", this.providerList[this.currentProvider].id)
let locationProvider = this.providerList[this.currentProvider]
if (locationProvider.provider?.isAppExist == false && 'tencent' == locationProvider.provider?.id) {
uni.showToast({
title: '需要打自定义基座',
icon: "error"
})
return
}
uni.getLocation(({ uni.getLocation(({
provider: this.providerList[this.currentProvider].id, provider: this.providerList[this.currentProvider].id,
type: this.items[this.current].value, type: this.items[this.current].value,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册