[new feature] TreeSelect: main-active-index support sync modifier (#4132)
This commit is contained in:
@@ -63,6 +63,7 @@ function TreeSelect(
|
||||
onClick={() => {
|
||||
if (!item.disabled) {
|
||||
emit(ctx, 'click-nav', index);
|
||||
emit(ctx, 'update:main-active-index', index);
|
||||
|
||||
// compatible for old usage, should be removed in next major version
|
||||
emit(ctx, 'navclick', index);
|
||||
|
||||
Reference in New Issue
Block a user