提交 32a4b6c9 编写于 作者: richard_1015's avatar richard_1015

fix(tabs): change event emit bug v3 #1884

上级 a35a208f
......@@ -214,7 +214,7 @@ export const component = {
const methods = {
tabChange: (item: Title, index: number) => {
emit('click', item);
if (item.disabled) {
if (item.disabled || currentIndex.value == index) {
return;
}
currentIndex.value = index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册