Skip to content

Zhaokun666999 patch 1 1 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 355 commits into
base: main
Choose a base branch
from
Open
Changes from 8 commits
Commits
Show all changes
355 commits
Select commit Hold shift + click to select a range
274ddcb
Merge pull request #2342 from zhaokun666999/patch-5
FDDED Feb 22, 2023
31aabea
Update INVALID_PARAMETER(订单数据同步报错).md
zhaokun666999 Feb 22, 2023
923a85f
Merge pull request #2343 from zhaokun666999/patch-6
FDDED Feb 22, 2023
a04e214
Update 框架概述.md (#2344)
FDDED Feb 22, 2023
93249fa
Update 小程序页面介绍.md (#2345)
FDDED Feb 22, 2023
a920352
add Tree shaking (#2308)
dirty-works Feb 22, 2023
b7c492e
Update input 输入框.md (#2297)
jc9702507 Feb 22, 2023
97f4900
Create 多端开发概述.md (#2292)
FDDED Feb 22, 2023
f4b8d61
Update 小程序SDK&Demo下载.md
zhaokun666999 Feb 23, 2023
9a98171
Merge pull request #2346 from zhaokun666999/patch-7
FDDED Feb 23, 2023
fd0dd4b
Update my.enableAlertBeforeUnload.md
yangge19970923 Feb 23, 2023
ba50adf
Update MapContext.smoothMoveMarker.md
hbhftgf Feb 23, 2023
d9873c2
Update MapContext.moveToLocation.md
hbhftgf Feb 23, 2023
4b90a8c
Update MapContext.updateComponents.md
hbhftgf Feb 23, 2023
248d887
Update my.createMapContext.md
hbhftgf Feb 23, 2023
eb1b0a0
Update my.setKeepScreenOn.md
hbhftgf Feb 23, 2023
c974eca
Update my.setKeepScreenOn.md
hbhftgf Feb 23, 2023
68ef5fe
Merge pull request #2154 from ChenYM520/patch-33
hbhftgf Feb 23, 2023
e568216
Update my.onNetworkStatusChange.md
hbhftgf Feb 23, 2023
efb34b2
Update my.onNetworkStatusChange.md
hbhftgf Feb 23, 2023
ee66cc5
Merge pull request #2145 from ChenYM520/patch-29
hbhftgf Feb 23, 2023
31b1fe3
Update my.enableAlertBeforeUnload.md
hbhftgf Feb 23, 2023
2513aad
Merge pull request #2120 from yangge19970923/patch-27
hbhftgf Feb 23, 2023
738475c
Update MapContext.smoothMovePolyline.md
ChenYM520 Feb 24, 2023
cadf009
Update my.createMapContext.md
ChenYM520 Feb 24, 2023
524589e
Update MapContext.updateComponents.md
ChenYM520 Feb 24, 2023
f3e9d78
Update MapContext.moveToLocation.md
ChenYM520 Feb 24, 2023
394103f
Update MapContext.smoothMoveMarker.md
ChenYM520 Feb 24, 2023
55701a3
Update my.getBLEDeviceServices.md
yuqing1111 Feb 24, 2023
0b5704e
Update MapContext.smoothMovePolyline.md
hbhftgf Feb 27, 2023
6592bb0
Update MapContext.smoothMovePolyline.md
hbhftgf Feb 27, 2023
35af486
Update MapContext.smoothMovePolyline.md
hbhftgf Feb 27, 2023
56fc542
Update MapContext.smoothMovePolyline.md
hbhftgf Feb 27, 2023
31f5285
Merge pull request #2024 from ChenYM520/patch-24
hbhftgf Feb 27, 2023
fa3c428
Update my.createMapContext.md
hbhftgf Feb 27, 2023
1087bba
Merge pull request #1958 from ChenYM520/patch-17
hbhftgf Feb 27, 2023
3ec81db
Update SJS 介绍.md
EAGzzyCSL Feb 27, 2023
bb08184
Merge pull request #2347 from yuqing1111/patch-56
hbhftgf Feb 27, 2023
cc0bfb2
Merge pull request #2338 from yuqing1111/patch-55
hbhftgf Feb 27, 2023
9c52552
Merge pull request #2341 from yangge19970923/patch-34
hbhftgf Feb 27, 2023
e08f5e0
Update 地理位置预拉取.md
hbhftgf Feb 27, 2023
1fa21c6
Update 地理位置预拉取.md
hbhftgf Feb 27, 2023
068bcc5
Merge pull request #2349 from AlipayDocs/hbhftgf-patch-84
hbhftgf Feb 27, 2023
7bb166a
Update my.getBackgroundFetchData.md
hbhftgf Feb 27, 2023
1454622
Merge branch 'main' into patch-29
hbhftgf Feb 27, 2023
5bf91f9
Update my.getBackgroundFetchData.md
hbhftgf Feb 27, 2023
974c1c4
Update my.getBackgroundFetchData.md
hbhftgf Feb 27, 2023
50dca97
Merge pull request #2153 from yangge19970923/patch-29
hbhftgf Feb 27, 2023
b1a3288
Update MapContext.updateComponents.md
ChenYM520 Feb 27, 2023
8947111
Update my.createMapContext.md
ChenYM520 Feb 27, 2023
97fdd3b
Update MapContext.updateComponents.md
ChenYM520 Feb 27, 2023
49d524b
Merge pull request #2144 from ChenYM520/patch-28
hbhftgf Feb 27, 2023
5638326
Update MapContext.smoothMovePolyline.md
ChenYM520 Feb 28, 2023
7802217
Update MapContext.updateComponents.md
ChenYM520 Feb 28, 2023
f0af3d7
Update MapContext.updateComponents.md
ChenYM520 Feb 28, 2023
4e234e1
Update MapContext.updateComponents.md
ChenYM520 Feb 28, 2023
dc56690
Update MapContext.updateComponents.md
ChenYM520 Feb 28, 2023
150ac8f
Update MapContext.updateComponents.md
ChenYM520 Feb 28, 2023
37ad064
Update 小程序运行机制.md
FDDED Feb 28, 2023
5dc8246
Merge pull request #2350 from AlipayDocs/FDDED-patch-31
FDDED Feb 28, 2023
63a9a26
Update MapContext.smoothMovePolyline.md
hbhftgf Feb 28, 2023
4220e65
Merge pull request #1992 from ChenYM520/patch-21
hbhftgf Feb 28, 2023
2af0d03
Update MapContext.updateComponents.md
hbhftgf Mar 2, 2023
09e32e4
Update MapContext.updateComponents.md
hbhftgf Mar 2, 2023
6cd26fc
Merge pull request #2051 from ChenYM520/patch-26
hbhftgf Mar 2, 2023
919008a
Update 获取会员基础信息 FAQ.md
wuqianqian0718 Mar 3, 2023
1af1342
Merge pull request #2355 from wuqianqian0718/patch-72
hbhftgf Mar 3, 2023
77a1164
Update 基础库介绍.md (#2356)
FDDED Mar 6, 2023
ea504d1
Update rich-text 富文本.md (#2357)
FDDED Mar 6, 2023
b256610
Update rich-text 富文本.md
FDDED Mar 6, 2023
5488bd2
Merge pull request #2358 from AlipayDocs/FDDED-patch-33
FDDED Mar 6, 2023
c2a9e5a
Update rich-text 富文本.md
FDDED Mar 6, 2023
9a73fa8
Merge pull request #2359 from AlipayDocs/FDDED-patch-34
FDDED Mar 6, 2023
401bc04
Update picker-view 滚动选择器.md (#2360)
FDDED Mar 6, 2023
c813aef
Update 小程序SDK&Demo下载.md
zhaokun666999 Mar 9, 2023
29e639f
Merge pull request #2361 from zhaokun666999/patch-8
FDDED Mar 9, 2023
07763a2
Update 组件间关系.md
minchangyong Mar 14, 2023
4aa5c6b
Update 蓝牙 API 概览.md
wuqianqian0718 Mar 17, 2023
467f173
Merge pull request #2363 from wuqianqian0718/patch-73
hbhftgf Mar 17, 2023
9d9e703
Create lottie 动画.md
amei1998 Mar 23, 2023
a208f5e
Merge pull request #2364 from amei1998/patch-52
hbhftgf Mar 23, 2023
1e88644
Update HTTP 413 错误 ( Request entity too large 请求实体太大 ).md
zhaokun666999 Mar 24, 2023
8e7ee1e
Merge pull request #2365 from zhaokun666999/patch-9
FDDED Mar 27, 2023
54fc956
Update app.js 注册小程序.md
FDDED Mar 27, 2023
2afc3c1
Merge pull request #2367 from AlipayDocs/FDDED-patch-36
FDDED Mar 27, 2023
74336a8
Update my.generateImageFromCode.md
amei1998 Apr 3, 2023
fb87599
Update my.getAccountInfoSync.md
wuqianqian0718 Apr 3, 2023
80bea7d
Update 基础库介绍.md
FDDED Apr 4, 2023
4efad8d
Merge pull request #2370 from AlipayDocs/FDDED-patch-37
FDDED Apr 4, 2023
ff10d06
Update lottie 动画.md
amei1998 Apr 4, 2023
0ea1807
Merge pull request #2369 from wuqianqian0718/patch-74
hbhftgf Apr 6, 2023
729f670
Update my.setClipboard.md
amei1998 Apr 6, 2023
d6f3a3e
docs: Update 自定义 tabBar cover-view to view (#2373)
xrkffgg Apr 6, 2023
82d86b1
Update 蓝牙 API 概览.md
yuqing1111 Apr 10, 2023
f1702c7
docs: Update externalClasses (#2375)
xrkffgg Apr 10, 2023
dfa91aa
Update 组件对象.md
FDDED Apr 12, 2023
e4f8d4a
Merge pull request #2376 from AlipayDocs/FDDED-patch-24
FDDED Apr 12, 2023
141d948
Update 基础库介绍.md
FDDED Apr 12, 2023
c0db4e6
Merge pull request #2377 from AlipayDocs/FDDED-patch-25
FDDED Apr 12, 2023
c9bdae3
Update onTabItemTap.md
FDDED Apr 12, 2023
8277976
Merge pull request #2378 from AlipayDocs/FDDED-patch-26
hbhftgf Apr 12, 2023
b9e87fc
Update tabBar 使用说明.md
wuqianqian0718 Apr 13, 2023
7ba69dc
Update tabBar 使用说明.md
wuqianqian0718 Apr 14, 2023
0b371ae
Update 小程序模板使用插件.md
FDDED Apr 14, 2023
07f3f45
Merge pull request #2381 from AlipayDocs/FDDED-patch-27
FDDED Apr 14, 2023
5c28c15
Update 小程序模板使用插件.md
FDDED Apr 14, 2023
010edfb
Merge pull request #2382 from AlipayDocs/FDDED-patch-28
FDDED Apr 14, 2023
fb83609
Update 小程序模板使用插件.md
FDDED Apr 14, 2023
c9c31e2
Merge pull request #2383 from AlipayDocs/FDDED-patch-29
FDDED Apr 14, 2023
9f9d543
Update 小程序模板使用插件.md
FDDED Apr 14, 2023
a8207c0
Merge pull request #2384 from AlipayDocs/FDDED-patch-30
FDDED Apr 14, 2023
89db748
Update 小程序模板使用插件.md
FDDED Apr 14, 2023
98d0e8e
Merge pull request #2385 from AlipayDocs/FDDED-patch-31
FDDED Apr 14, 2023
e06e3e2
Update 小程序模板使用插件.md
FDDED Apr 14, 2023
3cb4d28
Merge pull request #2386 from AlipayDocs/FDDED-patch-32
FDDED Apr 14, 2023
5f2bbec
Update 基础库介绍.md
FDDED Apr 14, 2023
ba43f09
Merge pull request #2387 from AlipayDocs/FDDED-patch-33
FDDED Apr 14, 2023
9472ba6
Update 小程序模板使用插件.md
FDDED Apr 17, 2023
8093a9f
Merge pull request #2388 from AlipayDocs/FDDED-patch-34
FDDED Apr 17, 2023
7b9d56d
Update 小程序模板使用插件.md
FDDED Apr 17, 2023
4dbc4c7
Merge pull request #2389 from AlipayDocs/FDDED-patch-35
FDDED Apr 17, 2023
02d1941
Update 小程序模板使用插件.md
FDDED Apr 17, 2023
328846b
Merge pull request #2390 from AlipayDocs/FDDED-patch-36
FDDED Apr 17, 2023
d9ccd37
Merge pull request #2372 from amei1998/patch-55
hbhftgf Apr 18, 2023
81f000d
Merge pull request #2371 from amei1998/patch-54
hbhftgf Apr 18, 2023
2751485
Merge pull request #2368 from amei1998/patch-53
hbhftgf Apr 18, 2023
c4952c7
Merge pull request #2379 from wuqianqian0718/patch-75
hbhftgf Apr 18, 2023
5712768
Merge pull request #2374 from yuqing1111/patch-57
hbhftgf Apr 18, 2023
bf95be2
Update CAN_NOT_SUBMIT_WITH_AUDIT_GRAY(存在审核中,审核通过,审核拒绝,灰度中版本不能提审).md
zhaokun666999 Apr 19, 2023
40814bb
Merge pull request #2391 from zhaokun666999/patch-10
FDDED Apr 19, 2023
b2fadf4
fix: 替换 `my.saveFile`
susiwen8 Apr 19, 2023
ce15a72
Update rpx与px单位相互换算.md
wesleyzeng Apr 19, 2023
29100d5
Merge pull request #2392 from susiwen8/main
hbhftgf Apr 22, 2023
7668e7f
Update rpx与px单位相互换算.md
hbhftgf Apr 22, 2023
7589ac9
Update rpx与px单位相互换算.md
hbhftgf Apr 22, 2023
0bc9468
Merge pull request #2393 from wesleyzeng/patch-1
hbhftgf Apr 22, 2023
ea096bf
Merge pull request #2362 from minchangyong/patch-38
hbhftgf Apr 22, 2023
095f683
Merge pull request #2348 from EAGzzyCSL/patch-16
hbhftgf Apr 22, 2023
4c91bc6
Update my.createInnerAudioContext.md
amei1998 Apr 23, 2023
cacfe85
Update tabBar 使用说明.md
wuqianqian0718 Apr 24, 2023
7a3bbd8
Merge pull request #2397 from wuqianqian0718/patch-77
hbhftgf Apr 24, 2023
1222dcb
Update 蓝牙 API FAQ.md
yuqing1111 Apr 26, 2023
7eb45f5
Merge pull request #2399 from yuqing1111/patch-59
hbhftgf Apr 26, 2023
768abc5
Update 插件使用.md
FDDED May 4, 2023
dab3879
Merge pull request #2401 from AlipayDocs/FDDED-patch-37
FDDED May 4, 2023
309afad
Update 插件开发.md
FDDED May 4, 2023
7ee9e9c
Merge pull request #2402 from AlipayDocs/FDDED-patch-38
FDDED May 4, 2023
fde5828
Update 插件使用.md
FDDED May 4, 2023
b0e1cd6
Merge pull request #2403 from AlipayDocs/FDDED-patch-39
FDDED May 4, 2023
e7ed650
Update Router.md
FDDED May 5, 2023
e280314
Merge pull request #2404 from AlipayDocs/FDDED-patch-40
FDDED May 5, 2023
5f47096
Merge pull request #2395 from amei1998/patch-56
hbhftgf May 11, 2023
e4859f1
Update MINI_APP_NAME_SENSITIVE(小程序中文名称存在敏感词).md
zhaokun666999 May 17, 2023
7a9ae1c
Update SERVICE_TEL_AND_MAIL_BOTH_BLANK(小程序客服电话和邮箱同时为空).md
zhaokun666999 May 17, 2023
191f8c4
Update MINI_APP_SLOGAN_SENSITIVE(小程序应用简介存在敏感词).md
zhaokun666999 May 17, 2023
336b00e
Update APP_INFO_NOT_EXIST(应用信息不存在).md
zhaokun666999 May 17, 2023
57b5e63
Update INVALID_MINI_APP_SERVICE_TEL(小程序客服电话包含非法字符).md
zhaokun666999 May 17, 2023
5a6a437
Update APP_NAME_IS_BLANK(小程序应用名称为空).md
zhaokun666999 May 17, 2023
6a8fb13
Merge pull request #2406 from zhaokun666999/patch-11
FDDED May 17, 2023
e6adf56
Merge pull request #2407 from zhaokun666999/patch-12
FDDED May 17, 2023
e73ab42
Merge pull request #2409 from zhaokun666999/patch-14
FDDED May 17, 2023
1c08dcb
Merge pull request #2410 from zhaokun666999/patch-15
FDDED May 17, 2023
b8dd6cf
Merge pull request #2411 from zhaokun666999/patch-16
FDDED May 17, 2023
39c446e
Merge pull request #2408 from zhaokun666999/patch-13
FDDED May 17, 2023
7d59b51
Update MINI_APP_EN_NAME_SENSITIVE(小程序英文名称存在敏感词).md
zhaokun666999 May 17, 2023
136b45d
Merge pull request #2413 from zhaokun666999/patch-18
FDDED May 17, 2023
2005206
Update 自定义组件常见问题.md
bytemain May 18, 2023
0f51080
Update 自定义组件常见问题.md
bytemain May 18, 2023
6c210ce
Merge pull request #2414 from AlipayDocs/bytemain-patch-1
FDDED May 18, 2023
ce18190
Update 自定义组件常见问题.md
FDDED May 18, 2023
865dba8
Merge pull request #2415 from AlipayDocs/FDDED-patch-41
FDDED May 18, 2023
620a98e
Update 项目配置.md
EAGzzyCSL May 22, 2023
e21e594
Merge pull request #2416 from EAGzzyCSL/patch-17
FDDED May 22, 2023
57690e3
Update 沙箱环境切换扩展.md
zhaokun666999 May 30, 2023
945b5b3
Merge pull request #2419 from zhaokun666999/patch-19
FDDED May 30, 2023
7707c99
Update map 高级定制渲染.md
FDDED Jun 5, 2023
505fbfc
Merge pull request #2420 from AlipayDocs/FDDED-patch-42
FDDED Jun 5, 2023
76ba485
Update 生命周期.md (#2421)
pingan1927 Jun 6, 2023
f45b95f
Update 基础库介绍.md
FDDED Jun 8, 2023
6d675be
Merge pull request #2423 from AlipayDocs/FDDED-patch-43
FDDED Jun 8, 2023
1c6a379
Update 组件对象.md (#2424)
xrkffgg Jun 8, 2023
e675cbc
Update 插件管理.md
ivyzhang393 Jun 9, 2023
d0ad390
Merge pull request #2425 from ivyzhang393/patch-8
FDDED Jun 9, 2023
db9860b
Update 插件管理.md
FDDED Jun 9, 2023
628d5c9
Merge pull request #2426 from AlipayDocs/FDDED-patch-44
FDDED Jun 9, 2023
ac3f195
Update 项目配置.md
dirty-works Jun 9, 2023
410a75d
Update 项目配置.md
dirty-works Jun 9, 2023
34088fd
Update JAVA-通用版.md
FDDED Jun 13, 2023
ab5509f
Merge pull request #2427 from AlipayDocs/FDDED-patch-45
FDDED Jun 13, 2023
ae0335c
Update 项目配置.md
FDDED Jun 19, 2023
b069541
Merge pull request #2428 from AlipayDocs/FDDED-patch-46
FDDED Jun 19, 2023
0e33406
Update app.json 应用配置.md (#2418)
ChenYM520 Jun 19, 2023
9953328
Update 小程序里如何删除缓存数据.md (#2422)
ChenYM520 Jun 19, 2023
21fefa8
Update 插件快捷联调.md (#2405)
www1350 Jun 19, 2023
ec758cc
Update 生命周期.md (#2400)
ottomao Jun 19, 2023
31e697c
Update 插件后端开发.md (#2354)
www1350 Jun 19, 2023
d98b91b
Update 插件授权.md (#2353)
www1350 Jun 19, 2023
1a09070
Update 插件授权.md (#2352)
www1350 Jun 19, 2023
698f1c4
Update canvas 画布.md (#2398)
S-SASS Jun 19, 2023
400cc39
Update 插件授权.md
FDDED Jun 19, 2023
e5c4b2b
Merge pull request #2430 from AlipayDocs/FDDED-patch-47
FDDED Jun 19, 2023
9dc947a
Update 项目配置.md
FDDED Jun 20, 2023
4e83278
Merge pull request #2432 from AlipayDocs/FDDED-patch-48
FDDED Jun 20, 2023
994107e
Update 沙箱环境切换扩展.md
FDDED Jun 21, 2023
c47e04b
Merge pull request #2433 from AlipayDocs/FDDED-patch-49
FDDED Jun 21, 2023
c198c69
Merge pull request #2431 from dirty-works/feat/resolve-alias
hbhftgf Jun 29, 2023
d1b432c
Update 项目配置.md
dirty-works Jun 29, 2023
c2bb15b
Merge pull request #2435 from dirty-works/dirty-works-patch-1
FDDED Jun 30, 2023
7d54617
Update 项目配置.md
FDDED Jun 30, 2023
847713e
Merge pull request #2436 from AlipayDocs/FDDED-patch-50
FDDED Jun 30, 2023
3ee338d
Update 小程序 tabBar、titleBar 多语言配置.md
FDDED Jul 3, 2023
8ea240a
Merge pull request #2438 from AlipayDocs/FDDED-patch-51
FDDED Jul 3, 2023
8964d53
Update 插件使用.md
ColdEcho Jul 4, 2023
df20093
Merge pull request #2439 from ColdEcho/patch-5
FDDED Jul 4, 2023
c70906a
Update 分包加载.md
ShadyZOZ Jul 11, 2023
004dfd7
Merge pull request #2442 from ShadyZOZ/patch-1
FDDED Jul 11, 2023
2ff5e47
Update 数据绑定.md
FDDED Jul 17, 2023
bd0b024
Merge pull request #2443 from AlipayDocs/FDDED-patch-52
FDDED Jul 17, 2023
45ebaae
Update 数据绑定.md
FDDED Jul 17, 2023
9aa5fd2
Merge pull request #2444 from AlipayDocs/FDDED-patch-53
FDDED Jul 17, 2023
20f71a4
Update 小程序场景值.md
FDDED Jul 17, 2023
1f8c55c
Merge pull request #2445 from AlipayDocs/FDDED-patch-54
FDDED Jul 17, 2023
7359cfb
Update 小程序场景值.md
FDDED Jul 17, 2023
3206ace
Merge pull request #2446 from AlipayDocs/FDDED-patch-55
FDDED Jul 17, 2023
a026fda
Update 小程序场景值.md
FDDED Jul 17, 2023
9d09052
Merge pull request #2447 from AlipayDocs/FDDED-patch-56
FDDED Jul 17, 2023
d7897e7
Update camera 相机.md (#2440)
amei1998 Jul 18, 2023
7831684
[u]update doc (#2437)
CommanderXL Jul 18, 2023
f233eef
删除不可用的检测平台说明
ctyu Jul 18, 2023
4d9b0b8
Merge pull request #2448 from ctyu/patch-2
FDDED Jul 18, 2023
1afc6d7
Update lottie 动画.md
FDDED Jul 18, 2023
c9db1dc
Merge pull request #2449 from AlipayDocs/FDDED-patch-57
FDDED Jul 18, 2023
c7072f6
chore: 播放录音文件示例删除无用代码 (#2434)
susiwen8 Jul 20, 2023
dfd71e0
Update 小程序 tabBar、titleBar 多语言配置.md (#2450)
EAGzzyCSL Jul 25, 2023
03cbcad
Update 小程序支付如何实现多商家收款.md
zhaokun666999 Jul 28, 2023
47d91e6
Merge pull request #2451 from zhaokun666999/patch-20
FDDED Jul 28, 2023
80f78cd
Update 基础库介绍.md
FDDED Aug 4, 2023
f614921
Merge pull request #2452 from AlipayDocs/FDDED-patch-58
FDDED Aug 4, 2023
34ccd12
Update 沙箱环境切换扩展.md
FDDED Aug 8, 2023
6e4bed5
Merge pull request #2453 from AlipayDocs/FDDED-patch-59
FDDED Aug 8, 2023
cd92482
Update 沙箱环境切换扩展.md
FDDED Aug 8, 2023
5dea60f
Merge pull request #2454 from AlipayDocs/FDDED-patch-60
FDDED Aug 8, 2023
b8676dd
Update 沙箱环境切换扩展.md
FDDED Aug 8, 2023
a8aeb70
Merge pull request #2455 from AlipayDocs/FDDED-patch-62
FDDED Aug 8, 2023
18fb4c1
Update 小程序场景值.md
FDDED Aug 10, 2023
1830a47
Merge pull request #2456 from AlipayDocs/FDDED-patch-64
FDDED Aug 10, 2023
481e1e5
Update scroll-view 可滚动视图区域.md (#2457)
FDDED Aug 11, 2023
ef42288
Update scroll-view 可滚动视图区域.md
FDDED Aug 11, 2023
a6a27e8
Merge pull request #2458 from AlipayDocs/FDDED-patch-65
FDDED Aug 11, 2023
fb80e14
Update AXML常见问题.md
zhaokun666999 Aug 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 简介

开启小程序页面返回询问对话框。
my.enableAlertBeforeUnload 开启小程序页面返回询问对话框。

调用后,用户尝试关闭当前小程序页面时会出现如下对话框:

![enable.png](https://cdn.nlark.com/yuque/0/2022/png/179989/1651127749522-3f26bd66-5891-4368-91dd-8cdbf2ccd36b.png#align=left&display=inline&height=107&margin=%5Bobject%20Object%5D&name=enable.png&originHeight=303&originWidth=849&size=26032&status=done&style=stroke&width=300)
<img src="https://mdn.alipayobjects.com/huamei_esgcm9/afts/img/A*DWmQQbYZLtAAAAAAAAAAAAAADsaJAQ/original" width="300px"/>

## 使用限制

Expand Down Expand Up @@ -44,10 +44,11 @@ Object 类型,参数如下:

## 错误码

| **错误码** | **描述** | **解决方案** |
fail 回调将收到一个 Object 类型的参数,其 error 属性为错误码,errorMessage 为错误消息

| **错误码** | **错误消息** | **解决方案** |
| --- | --- | --- |
| 7 | has not found page when enableAlertBeforeUnload has been invoked | 执行接口时小程序还未创建出任何一个页面实例,建议在 Page.onReady 回调内执行 my.enableAlertBeforeUnload。 |
| 8 | can not invoke enableAlertBeforeUnload at first page | 若某个页面比较复杂(即可能是第一个页面,也可能不是第一个页面),可以通过 [getCurrentPages](https://opendocs.alipay.com/mini/framework/getcurrentpages) 获取页面栈并判断当前页面实例是不是处于第一个。 |
| 9 | client not support enableAlertBeforeUnload | 一般不会出现,此时表明当前客户端不支持调用此接口,暂无解决方案。 |
| 7 | has not found page when enableAlertBeforeUnload has been invoked | 请在 Page.onReady 以后调用。 |
| 8 | can not invoke enableAlertBeforeUnload at first page | 不支持在首页调用此接口,请在非首页代码中调用。 |
| 9 | client not support enableAlertBeforeUnload | 当前客户端版本不支持此接口,可忽略此报错或酌情提示升级。 |

<br />