🐛[优化] 优化tooltip动态位置显示问题,以及为滑块拉动提供显示属性

This commit is contained in:
xumi
2021-12-15 23:53:56 +08:00
parent 81afabf411
commit b704cba9bc
4 changed files with 47 additions and 19 deletions

View File

@@ -5,7 +5,7 @@ export default defineComponent({
name: "LayTooltip",
props: {
content: {
type: String,
type: [Number, String],
required: true,
},
position: {
@@ -19,6 +19,14 @@ export default defineComponent({
disabled: {
type: Boolean,
default: false,
},
visible: {
type: Boolean,
default: true
},
isCanHide: {
type: Boolean,
default: true
}
},
render() {