chore: 优化 ESLint 配置并更正问题代码(eslint src --fix)

This commit is contained in:
2024-05-08 22:47:37 +08:00
parent 8f63576512
commit 5d9fedc354
22 changed files with 37 additions and 27 deletions

View File

@@ -1,8 +1,8 @@
<template>
<transition name="slide-dynamic-origin">
<div class="audio-box" ref="audioRef" :style="audioStyle" v-show="visible">
<div v-show="visible" ref="audioRef" class="audio-box" :style="audioStyle">
<section style="padding: 10px 14px 14px 14px">
<div class="audio-box__header" ref="audioHeadRef">
<div ref="audioHeadRef" class="audio-box__header">
<div class="audio-name">
<icon-music :size="16" spin />
<span>{{ props.data?.name }}.{{ props.data?.extension }}</span>

View File

@@ -66,7 +66,7 @@
</a-row>
<!-- 文件列表-宫格模式 -->
<a-spin class="file-main__list" id="fileMain" @scroll="handleScroll" :loading="loading">
<a-spin id="fileMain" class="file-main__list" :loading="loading" @scroll="handleScroll">
<FileGrid
v-show="fileList.length && mode == 'grid'"
:data="fileList"

View File

@@ -56,6 +56,7 @@
<NoticeDetailModal ref="NoticeDetailModalRef" />
</div>
</template>
<script lang="ts" setup>
import { listNotice, deleteNotice, type NoticeResp, type NoticeQuery } from '@/apis'
import NoticeAddModal from './NoticeAddModal.vue'