mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
不影响业务部分eslint 修复
This commit is contained in:
parent
471fcff8eb
commit
4231d5ce87
@ -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)
|
||||
|
@ -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
|
||||
|
@ -540,7 +540,7 @@ export default {
|
||||
localStorage.setItem('editorTheme', v)
|
||||
},
|
||||
|
||||
onReady(editor) {
|
||||
onReady() {
|
||||
// console.log(editor)
|
||||
// // 绑定其他快捷键, 格式化编辑器代码做示例
|
||||
// let autoFormatSelection = () => {
|
||||
|
@ -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: {
|
||||
|
@ -27,7 +27,7 @@ import defaultBg from '@/pages/layout/default-bg.vue'
|
||||
const router = useRouter()
|
||||
// const goBack = () => {
|
||||
// router.back()
|
||||
}
|
||||
// }
|
||||
const goHome = () => {
|
||||
router.replace({ path: '/' })
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -99,7 +99,7 @@ export default {
|
||||
width: 80,
|
||||
ellipsis: true,
|
||||
align: 'center',
|
||||
customRender: ({ text, record, index }) => `${index + 1}`
|
||||
customRender: ({ index }) => `${index + 1}`
|
||||
},
|
||||
{
|
||||
title: '名称',
|
||||
|
Loading…
Reference in New Issue
Block a user