[improvement] directive naming-style in jsx (#2677)

This commit is contained in:
neverland
2019-02-02 17:35:32 +08:00
committed by GitHub
parent e3f4cac05d
commit 583f89f09d
16 changed files with 35 additions and 35 deletions

View File

@@ -59,7 +59,7 @@ export default sfc({
render(h) {
const slots = this.$slots;
return (
<div v-show={this.selected || this.parent.animated} class={bem('pane')}>
<div vShow={this.selected || this.parent.animated} class={bem('pane')}>
{this.inited ? slots.default : h()}
{slots.title && <div ref="title">{slots.title}</div>}
</div>