From 58dc5aefab5dfdb45db39715545b624500a337b8 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Tue, 4 Nov 2025 17:56:30 +0800 Subject: [PATCH] fix: lint --- .../component-container-property.vue | 10 +- .../components/component-library.vue | 2 +- .../components/mobile/Carousel/property.vue | 106 +++++++++--------- .../components/mobile/Divider/property.vue | 12 +- .../components/mobile/Popover/property.vue | 13 +-- .../coupon-card/coupon-discount-desc.tsx | 2 +- .../mobile/coupon-card/coupon-discount.tsx | 2 +- .../components/mobile/coupon-card/index.vue | 2 + .../mobile/coupon-card/property.vue | 14 +-- .../mobile/floating-action-button/index.vue | 6 +- .../components/hot-zone-edit-dialog/index.vue | 5 +- .../components/mobile/hot-zone/index.vue | 1 + .../components/mobile/magic-cube/property.vue | 20 ++-- .../components/mobile/menu-grid/property.vue | 2 +- .../components/mobile/menu-list/index.vue | 12 +- .../components/mobile/menu-list/property.vue | 8 +- .../components/cell-property.vue | 11 +- .../components/mobile/product-card/index.vue | 8 +- .../mobile/product-card/property.vue | 6 +- .../mobile/promotion-article/property.vue | 2 +- .../mobile/promotion-point/property.vue | 6 +- .../mobile/promotion-seckill/property.vue | 9 +- .../components/mobile/search-bar/property.vue | 6 +- .../components/mobile/title-bar/property.vue | 18 +-- .../components/mobile/user-coupon/index.vue | 2 + .../components/mobile/user-order/index.vue | 2 + .../components/mobile/user-wallet/index.vue | 2 + .../promotion/components/draggable/index.vue | 6 +- .../components/magic-cube-editor/index.vue | 2 +- 29 files changed, 138 insertions(+), 159 deletions(-) diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/component-container-property.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/component-container-property.vue index 4ac5f3b7a..980cd82a4 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/component-container-property.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/component-container-property.vue @@ -27,7 +27,7 @@ const props = defineProps<{ modelValue: ComponentStyle }>(); const emit = defineEmits(['update:modelValue']); const formData = useVModel(props, 'modelValue', emit); -const treeData = [ +const treeData: any[] = [ { label: '外部边距', prop: 'margin', @@ -96,7 +96,7 @@ const treeData = [ }, ]; -const handleSliderChange = (prop: string) => { +function handleSliderChange(prop: string) { switch (prop) { case 'borderRadius': { formData.value.borderTopLeftRadius = formData.value.borderRadius; @@ -120,7 +120,7 @@ const handleSliderChange = (prop: string) => { break; } } -}; +}