diff --git a/app/src/pages/search/component/suggest.vue b/app/src/pages/search/component/suggest.vue index cb808eb7..504ef4ca 100644 --- a/app/src/pages/search/component/suggest.vue +++ b/app/src/pages/search/component/suggest.vue @@ -2,10 +2,10 @@ - 热门搜索 + 热门搜索 - + {{ hotItem }} @@ -19,12 +19,12 @@ - 历史搜索 + 历史搜索 清空 - + {{ hisItem }} diff --git a/app/src/utils/file.ts b/app/src/utils/file.ts index ea120128..d1cac28e 100644 --- a/app/src/utils/file.ts +++ b/app/src/utils/file.ts @@ -1,5 +1,5 @@ export async function saveImageToPhotosAlbum(url: string) { - if (!url) return uni.$u.$toast('图片不存在') + if (!url) return uni.$u.toast('图片不存在') //#ifdef H5 uni.$u.$toast('长按图片保存') //#endif @@ -13,9 +13,6 @@ export async function saveImageToPhotosAlbum(url: string) { icon: 'success' }) } catch (error: any) { - uni.showToast({ - title: error.errMsg || '保存失败', - icon: 'none' - }) + uni.$u.toast(error.errMsg || '保存失败') } } diff --git a/app/src/utils/util.ts b/app/src/utils/util.ts index aa371989..a6ea8f76 100644 --- a/app/src/utils/util.ts +++ b/app/src/utils/util.ts @@ -88,7 +88,6 @@ export function objectToQuery(params: Record): string { } } } else { - console.log(part + encodeURIComponent(value), '####') query += part + encodeURIComponent(value) + '&' } }