diff --git a/packages/vant/docs/site/use-translate.ts b/packages/vant/docs/site/use-translate.ts index 7d29e43d3..a70fc8a5d 100644 --- a/packages/vant/docs/site/use-translate.ts +++ b/packages/vant/docs/site/use-translate.ts @@ -52,6 +52,7 @@ export function initDemoLocale() { disabled: '禁用状态', uneditable: '不可编辑', basicUsage: '基础用法', + usingUrl: '使用图片 URL', advancedUsage: '高级用法', loadingStatus: '加载状态', }, @@ -78,6 +79,7 @@ export function initDemoLocale() { disabled: 'Disabled', uneditable: 'Uneditable', basicUsage: 'Basic Usage', + usingUrl: 'Using URL', advancedUsage: 'Advanced Usage', loadingStatus: 'Loading', }, diff --git a/packages/vant/src/icon/demo/index.vue b/packages/vant/src/icon/demo/index.vue index a0e7dc089..7bfc05fa4 100644 --- a/packages/vant/src/icon/demo/index.vue +++ b/packages/vant/src/icon/demo/index.vue @@ -99,6 +99,11 @@ const copy = (icon: string, option: Record = {}) => { + + + + +