From 899174994ce825439a6ec25b9c484009700177c3 Mon Sep 17 00:00:00 2001 From: yoyo <15014217605@163.com> Date: Thu, 14 Dec 2023 15:40:35 +0800 Subject: [PATCH] fix: [cascader, loading] fix docs api jump demo (#1129) --- .../demos/pc/app/cascader/webdoc/cascader.js | 2 +- .../sites/demos/pc/app/loading/webdoc/loading.js | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/examples/sites/demos/pc/app/cascader/webdoc/cascader.js b/examples/sites/demos/pc/app/cascader/webdoc/cascader.js index b453b85d9..d34c4e504 100644 --- a/examples/sites/demos/pc/app/cascader/webdoc/cascader.js +++ b/examples/sites/demos/pc/app/cascader/webdoc/cascader.js @@ -502,7 +502,7 @@ export default { 'zh-CN': '次级菜单的展开方式', 'en-US': 'The expansion mode of the secondary menu' }, - 'demoId': 'basic-usage' + 'demoId': 'expand-trigger' }, { 'name': 'multiple', diff --git a/examples/sites/demos/pc/app/loading/webdoc/loading.js b/examples/sites/demos/pc/app/loading/webdoc/loading.js index 0bc0d9390..c8560c579 100644 --- a/examples/sites/demos/pc/app/loading/webdoc/loading.js +++ b/examples/sites/demos/pc/app/loading/webdoc/loading.js @@ -62,8 +62,7 @@ export default { 'demoId': 'fullscreen', 'name': { 'zh-CN': '全屏加载', 'en-US': 'Fullscreen Loading' }, 'desc': { - 'zh-CN': - `

+ 'zh-CN': `

通过 v-loading.lock.fullscreen 指令添加修饰符进行全屏加载
也能通过Loading.service并配置属性进行全屏加载

`, @@ -105,8 +104,7 @@ export default { 'defaultValue': 'true', 'desc': { 'zh-CN': '属性为 true 显示全屏,同 v-loading 指令中的 fullscreen 修饰符', - 'en-US': - 'Set true to display the full screen. Same as the fullscreen modifier in the v-loading instruction' + 'en-US': 'Set true to display the full screen. Same as the fullscreen modifier in the v-loading instruction' }, 'demoId': 'fullscreen' }, @@ -169,7 +167,7 @@ export default { 'desc': { 'zh-CN': 'Loading 的自定义类名', 'en-US': 'User-defined loading class name' }, 'demoId': 'custom-class' } - ], + ] }, { 'name': 'loading', @@ -226,8 +224,7 @@ export default { 'desc': { 'zh-CN': '命令修饰符:遮罩层是否在body上', 'en-US': 'Command modifier: Whether the mask is on the body' - }, - 'demoId': 'fullscreen' + } }, { 'name': 'lock', @@ -237,8 +234,8 @@ export default { 'en-US': 'Command modifier: Whether to lock scroll in full screen' }, 'demoId': 'fullscreen' - }, - ], + } + ] } ] }