diff --git a/components/firstui/fui-date-picker/fui-date-picker.vue b/components/firstui/fui-date-picker/fui-date-picker.vue index 7dd22c1..15248e9 100644 --- a/components/firstui/fui-date-picker/fui-date-picker.vue +++ b/components/firstui/fui-date-picker/fui-date-picker.vue @@ -460,8 +460,8 @@ export default { return `background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};` }, topBottom() { - if (this.top || Number(this.top) ===0) - return `top:${this.top}rpx;z-index: ${Number(this.zIndex)}` + if (this.top || this.top ===0) + return `top:${Number(this.top)}rpx;z-index: ${Number(this.zIndex)}` else return `z-index: ${Number(this.zIndex)}`