add Transfer component

add Transfer component
This commit is contained in:
梁灏 2016-11-18 11:46:55 +08:00
parent 306e3f74e8
commit 77f7bb9533
15 changed files with 519 additions and 6 deletions

View file

@ -71,7 +71,7 @@
}
},
ready () {
this.showSlot = this.$els.slot.innerHTML !== '';
this.showSlot = this.$els.slot.innerHTML.replace(/\n/g, '').replace(/<!--[\w\W\r\n]*?-->/gmi, '') !== '';
}
}
</script>