chore: remove redundant code (#5004)

This commit is contained in:
neverland
2019-11-14 11:22:19 +08:00
committed by GitHub
parent aee1091c5c
commit 9ee9b2ef38
3 changed files with 0 additions and 7 deletions

View File

@@ -80,8 +80,6 @@ Locale.add({
export function demoWrapper(module, name) {
const component = module.default;
name = 'demo-' + name;
component.name = name;
const { i18n: config } = component;
if (config) {