报错提示

This commit is contained in:
Linzm committed 2025-06-07 10:58:07 +08:00
1 parent e7e2a593bf
commit 054435ef33
1 file changed
+14 -6
+14 -6
View File
@@ -147,7 +147,6 @@ const getPid = async () => {
console.log(err)
} finally {
isLoading.value = false
closeToast()
}
}
// 上传到OSS
@@ -191,7 +190,7 @@ const sendToOss = async (src: string, url: string) => {
closeToast()
pendingUploads.value--
showFailToast({
message: '照片上传失败',
message: err.message,
duration: 2000,
})
console.log("uploadImage----err", err)
@@ -222,7 +221,7 @@ const createLog = () => {
}).catch((err) => {
console.log('getGenImages', err)
showFailToast({
message: '照片上传失败',
message: err.message,
duration: 2000,
})
}).finally(() => {
@@ -242,7 +241,10 @@ const getKindList = () => {
const data = res || []
kindList.value = data.list
}).catch((err) => {
showToast({
message: err.message,
duration: 2000,
})
}).finally((err) => {
})
@@ -257,7 +259,10 @@ const getSundryList = () => {
const data = res || []
sundryList.value = data.list
}).catch((err) => {
showToast({
message: err.message,
duration: 2000,
})
}).finally((err) => {
})
@@ -273,7 +278,10 @@ const getList = () => {
const data = res || []
caseList.value = data.list
}).catch((err) => {
showToast({
message: err.message,
duration: 2000,
})
}).finally((err) => {
})