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