feat: lint

This commit is contained in:
sudoooooo 2024-05-15 20:34:56 +08:00
parent f9af6219ab
commit 76683371cf
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ const errorImageUrl = computed(() => {
const errorType = store.state?.errorInfo?.errorType
const imageMap = {
overTime: '/imgs/icons/overtime.webp',
default: '/imgs/icons/error.webp',
default: '/imgs/icons/error.webp'
}
return imageMap[errorType as 'overTime'] || imageMap.default

View File

@ -31,13 +31,13 @@ import encrypt from '../utils/encrypt'
import useCommandComponent from '../hooks/useCommandComponent'
interface Props {
questionInfo?: any,
isMobile?: boolean,
questionInfo?: any
isMobile?: boolean
}
withDefaults(defineProps<Props>(), {
questionInfo: {},
isMobile: false,
isMobile: false
})
const mainRef = ref<any>()
@ -111,7 +111,7 @@ const handleSubmit = () => {
onConfirm: async () => {
try {
submitSurver()
} catch(error) {
} catch (error) {
console.log(error)
} finally {
confirm.close()