From b526a2b81a7d11f603d8135b87b06d5fe9e2a525 Mon Sep 17 00:00:00 2001 From: Hefeng <1057605508@qq.com> Date: Thu, 31 Aug 2023 10:53:59 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20fui-date-picker=20=E5=A2=9E=E5=8A=A0to?= =?UTF-8?q?p=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/firstui/fui-date-picker/fui-date-picker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)}`