fix(Icon): medal typo (#5242)

This commit is contained in:
neverland
2019-12-11 11:24:54 +08:00
committed by GitHub
parent 95148ebda0
commit 6af96aa580
10 changed files with 79 additions and 61 deletions

View File

@@ -99,7 +99,7 @@ function TreeSelect(
emit(ctx, 'update:active-id', newActiveId);
emit(ctx, 'click-item', item);
// compatible for old usage, should be removed in next major version
// compatible with legacy usage, should be removed in next major version
emit(ctx, 'itemclick', item);
}
}}
@@ -120,7 +120,7 @@ function TreeSelect(
onChange={(index: number) => {
emit(ctx, 'update:main-active-index', index);
emit(ctx, 'click-nav', index);
// compatible for old usage, should be removed in next major version
// compatible with legacy usage, should be removed in next major version
emit(ctx, 'navclick', index);
}}
>