From 8e7897552193e6aa4112ac27d5a1dc76fae645e8 Mon Sep 17 00:00:00 2001 From: xingyu Date: Sat, 29 Jul 2023 12:55:51 +0800 Subject: [PATCH] fix: eslint --- src/components/Cropper/src/CopperModal.vue | 4 ++- .../InputPassword/src/InputPassword.vue | 4 ++- src/layout/components/Message/src/Message.vue | 9 ++++--- .../components/TagsView/src/TagsView.vue | 2 +- src/styles/index.scss | 4 ++- .../mall/product/spu/components/SkuList.vue | 17 ++++++------ .../activity/CombinationActivityForm.vue | 6 +---- .../seckill/activity/SeckillActivityForm.vue | 6 +---- src/views/mall/trade/order/index.vue | 8 +++--- src/views/mp/components/wx-msg/comment.scss | 26 ++++++++++++++++--- 10 files changed, 54 insertions(+), 32 deletions(-) diff --git a/src/components/Cropper/src/CopperModal.vue b/src/components/Cropper/src/CopperModal.vue index 12151813..27052b8a 100644 --- a/src/components/Cropper/src/CopperModal.vue +++ b/src/components/Cropper/src/CopperModal.vue @@ -222,7 +222,9 @@ $prefix-cls: #{$namespace}-cropper-am; transparent 75%, rgb(0 0 0 / 25%) 0 ); - background-position: 0 0, 12px 12px; + background-position: + 0 0, + 12px 12px; background-size: 24px 24px; } diff --git a/src/components/InputPassword/src/InputPassword.vue b/src/components/InputPassword/src/InputPassword.vue index 32437085..f9703694 100644 --- a/src/components/InputPassword/src/InputPassword.vue +++ b/src/components/InputPassword/src/InputPassword.vue @@ -114,7 +114,9 @@ $prefix-cls: #{$namespace}-input-password; height: inherit; background-color: transparent; border-radius: inherit; - transition: width 0.5s ease-in-out, background 0.25s; + transition: + width 0.5s ease-in-out, + background 0.25s; &[data-score='0'] { width: 20%; diff --git a/src/layout/components/Message/src/Message.vue b/src/layout/components/Message/src/Message.vue index 2e0f246a..fbcccd7f 100644 --- a/src/layout/components/Message/src/Message.vue +++ b/src/layout/components/Message/src/Message.vue @@ -35,9 +35,12 @@ onMounted(() => { // 首次加载小红点 getUnreadCount() // 轮询刷新小红点 - setInterval(() => { - getUnreadCount() - }, 1000 * 60 * 2) + setInterval( + () => { + getUnreadCount() + }, + 1000 * 60 * 2 + ) })