update Tooltip maxWidth prop type

This commit is contained in:
梁灏 2018-06-22 15:27:45 +08:00
parent 6b498dd1a4
commit 953d02c723
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<Button @click="handleChange">change</Button>
</Tooltip>
<Button @click="handleChange">change</Button>
<Poptip title="Title" content="content">
<Poptip title="Title" transfer width="250" content="我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长">
<Button>Click</Button>
</Poptip>
</div>

View file

@ -69,7 +69,7 @@
default: 'dark'
},
maxWidth: {
type: Number
type: [String, Number]
}
},
data () {