不影响业务部分eslint 修复

This commit is contained in:
a20070322 2024-03-04 13:49:44 +08:00
parent 471fcff8eb
commit 4231d5ce87
7 changed files with 9 additions and 9 deletions

View File

@ -68,7 +68,7 @@ const useAppStore = appStore()
const pageLoading = computed(() => {
return useAppStore.loading
})
watch(pageLoading, (newValue, oldValue) => {
watch(pageLoading, (newValue) => {
//
if (newValue === 2) {
clearTimeout(pageLoadingTimeout.value)

View File

@ -217,7 +217,7 @@ async function request<T = any>(arg: string | AxiosRequestConfig, config?: Axios
export default request
// 刷新 jwt token 并且重试上次请求
async function redoRequest(config: AxiosRequestConfig) {
async function redoRequest() {
const result = await refreshToken()
if (result.code === 200) {
// 调用 store action 存储当前登录的用户名和 token

View File

@ -540,7 +540,7 @@ export default {
localStorage.setItem('editorTheme', v)
},
onReady(editor) {
onReady() {
// console.log(editor)
// // ,
// let autoFormatSelection = () => {

View File

@ -1,6 +1,6 @@
<template>
<div>
<Select
<a-select
v-model:value="selected"
:style="selStyle"
:disabled="disabled"
@ -24,7 +24,7 @@
</template>
<a-select-option v-if="selectPlaceholder" value="">{{ selectPlaceholder }}</a-select-option>
<a-select-option v-for="item in optionList" :key="item">{{ item }} </a-select-option>
</Select>
</a-select>
</div>
</template>
@ -33,7 +33,7 @@ import { Select } from 'ant-design-vue'
export default {
components: {
Select,
ASelect: Select,
VNodes: {
props: {
vnodes: {

View File

@ -27,7 +27,7 @@ import defaultBg from '@/pages/layout/default-bg.vue'
const router = useRouter()
// const goBack = () => {
// router.back()
}
// }
const goHome = () => {
router.replace({ path: '/' })
}

View File

@ -77,7 +77,7 @@
<a-statistic-countdown format=" s 秒" title="刷新倒计时" :value="countdownTime" @finish="silenceLoadData" />
</a-space>
</template>
<template #bodyCell="{ column, text, record, index }">
<template #bodyCell="{ column, text, record }">
<template v-if="column.tooltip">
<a-tooltip placement="topLeft" :title="text">
<span>{{ text || '' }}</span>

View File

@ -99,7 +99,7 @@ export default {
width: 80,
ellipsis: true,
align: 'center',
customRender: ({ text, record, index }) => `${index + 1}`
customRender: ({ index }) => `${index + 1}`
},
{
title: '名称',