mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
chore: fix demo (#5009)
This commit is contained in:
@@ -80,6 +80,8 @@ Locale.add({
|
||||
|
||||
export function demoWrapper(module, name) {
|
||||
const component = module.default;
|
||||
name = 'demo-' + name;
|
||||
component.name = name;
|
||||
|
||||
const { i18n: config } = component;
|
||||
if (config) {
|
||||
|
Reference in New Issue
Block a user