feat: lint
This commit is contained in:
parent
f9af6219ab
commit
76683371cf
@ -18,7 +18,7 @@ const errorImageUrl = computed(() => {
|
|||||||
const errorType = store.state?.errorInfo?.errorType
|
const errorType = store.state?.errorInfo?.errorType
|
||||||
const imageMap = {
|
const imageMap = {
|
||||||
overTime: '/imgs/icons/overtime.webp',
|
overTime: '/imgs/icons/overtime.webp',
|
||||||
default: '/imgs/icons/error.webp',
|
default: '/imgs/icons/error.webp'
|
||||||
}
|
}
|
||||||
|
|
||||||
return imageMap[errorType as 'overTime'] || imageMap.default
|
return imageMap[errorType as 'overTime'] || imageMap.default
|
||||||
|
@ -31,13 +31,13 @@ import encrypt from '../utils/encrypt'
|
|||||||
import useCommandComponent from '../hooks/useCommandComponent'
|
import useCommandComponent from '../hooks/useCommandComponent'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
questionInfo?: any,
|
questionInfo?: any
|
||||||
isMobile?: boolean,
|
isMobile?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
withDefaults(defineProps<Props>(), {
|
withDefaults(defineProps<Props>(), {
|
||||||
questionInfo: {},
|
questionInfo: {},
|
||||||
isMobile: false,
|
isMobile: false
|
||||||
})
|
})
|
||||||
|
|
||||||
const mainRef = ref<any>()
|
const mainRef = ref<any>()
|
||||||
@ -111,7 +111,7 @@ const handleSubmit = () => {
|
|||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
try {
|
try {
|
||||||
submitSurver()
|
submitSurver()
|
||||||
} catch(error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
} finally {
|
} finally {
|
||||||
confirm.close()
|
confirm.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user