fix: 修复部分代码格式error的问题

This commit is contained in:
刘洪洪
2024-03-26 10:27:57 +08:00
parent 9e5a5d0bc3
commit ba4b6e289d
5 changed files with 6 additions and 7 deletions

View File

@@ -51,6 +51,7 @@ import { storageKey } from '@/utils/constants'
import axios from 'axios' import axios from 'axios'
import { ref } from 'vue' import { ref } from 'vue'
import { dateFormat } from '@/utils/date-util' import { dateFormat } from '@/utils/date-util'
import _ from 'lodash'
export default { export default {
name: 'License', name: 'License',

View File

@@ -647,7 +647,6 @@ export default {
}).finally(() => { }).finally(() => {
this.newFilterData[index].loading = false this.newFilterData[index].loading = false
this.newFilterData[index].firstLoad = false this.newFilterData[index].firstLoad = false
console.log('查看loading', this.newFilterData)
}) })
} }
}) })
@@ -675,7 +674,7 @@ export default {
} else { } else {
this.$message.error(response.data.message) this.$message.error(response.data.message)
} }
}).catch((e) => { }).catch(() => {
this.listData = [] this.listData = []
}).finally(() => { }).finally(() => {
this.listLoading = false this.listLoading = false

View File

@@ -103,7 +103,6 @@ import entityDetailMixin from './entityDetailMixin'
import { unitTypes } from '@/utils/constants' import { unitTypes } from '@/utils/constants'
import { valueToRangeValue } from '@/utils/unit-convert' import { valueToRangeValue } from '@/utils/unit-convert'
import _ from 'lodash' import _ from 'lodash'
import axios from 'axios'
import relatedServer from '@/mixins/relatedServer' import relatedServer from '@/mixins/relatedServer'
import { dateFormatByAppearance, getMillisecond, getSecond, getNowTime } from '@/utils/date-util' import { dateFormatByAppearance, getMillisecond, getSecond, getNowTime } from '@/utils/date-util'
import Loading from '@/components/common/Loading' import Loading from '@/components/common/Loading'