提交 783aa946 编写于 作者: S suzigang

upd: 修改disable状态下不分发事件

上级 a05a3238
......@@ -38,12 +38,11 @@ export default {
const status = this.isActive;
if (!this.disabled) {
this.isActive = !status;
setTimeout(() => {
this.$emit('change', this.isActive);
this.$emit('update:active', this.isActive);
}, 300);
}
setTimeout(() => {
this.$emit('change', this.isActive);
this.$emit('update:active', this.isActive);
}, 300);
},
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册