add alert & button docs and fix alert close event

This commit is contained in:
SkyAo
2016-08-16 17:19:34 +08:00
parent 37ebca5ba7
commit d35e43f90e
3 changed files with 87 additions and 18 deletions

View File

@@ -57,7 +57,7 @@
methods: {
close() {
this.visible = false;
this.$emit('onClose');
this.$emit('close');
}
},