add unit test

This commit is contained in:
cookfront
2017-04-20 18:11:05 +08:00
parent 1b90609fc6
commit efd24b0680
8 changed files with 33 additions and 59 deletions

View File

@@ -80,7 +80,7 @@
*/
handleTabClick(index, el) {
if (el.disabled) {
el.$emit('disabled', index);
this.$emit('disabled', index);
return;
}