查询优化

This commit is contained in:
bb_pan 2025-09-14 23:26:35 +08:00
parent 686d09ba2f
commit 53dc31425d
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,10 @@ const finish = computed(() => {
}) })
onShow(() => { onShow(() => {
queryParams.range = [
new Date(new Date().getTime() - 30 * 24 * 60 * 60 * 1000).toISOString().split('T')[0],
new Date().toISOString().split('T')[0],
]
getList() getList()
}) })

View File

@ -195,6 +195,7 @@ const onCameraSuccess = (file) => {
// //
const uploadSignUrl = async (url) => { const uploadSignUrl = async (url) => {
try { try {
uni.showLoading({ title: '上传中', mask: true })
const signUrl = url const signUrl = url
if (opts.isLease) { if (opts.isLease) {
console.log('🚀 ~ uploadSignUrl ~ opts:', opts) console.log('🚀 ~ uploadSignUrl ~ opts:', opts)
@ -290,6 +291,8 @@ const uploadSignUrl = async (url) => {
title: '上传失败', title: '上传失败',
icon: 'none', icon: 'none',
}) })
} finally {
uni.hideLoading()
} }
} }