fix: lint

This commit is contained in:
xingyu4j
2025-10-28 14:29:42 +08:00
parent f88713ce28
commit 32d8af5475
6 changed files with 30 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
<!-- eslint-disable unicorn/no-nested-ternary -->
<!-- 积分活动橱窗组件 - 用于装修时展示和选择积分活动 -->
<script lang="ts" setup>
// TODO @puhui999看看是不是整体优化下代码风格参考别的模块
@@ -95,9 +96,9 @@ watch(
async () => {
const ids = Array.isArray(props.modelValue)
? props.modelValue
: (props.modelValue
: props.modelValue
? [props.modelValue]
: []);
: [];
// 不需要返显
if (ids.length === 0) {
@@ -158,7 +159,7 @@ watch(
<!-- 积分活动选择对话框 -->
<PointTableSelect
ref="pointActivityTableSelectRef"
:multiple="limit != 1"
:multiple="limit !== 1"
@change="handleActivitySelected"
/>
</template>