mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: fix demo (#5009)
This commit is contained in:
parent
9ee9b2ef38
commit
04df584a65
@ -80,6 +80,8 @@ Locale.add({
|
|||||||
|
|
||||||
export function demoWrapper(module, name) {
|
export function demoWrapper(module, name) {
|
||||||
const component = module.default;
|
const component = module.default;
|
||||||
|
name = 'demo-' + name;
|
||||||
|
component.name = name;
|
||||||
|
|
||||||
const { i18n: config } = component;
|
const { i18n: config } = component;
|
||||||
if (config) {
|
if (config) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user