This commit is contained in:
weipengfei 2024-04-18 15:34:17 +08:00
parent 4d0b2e06ac
commit 2e758796ff

View File

@ -204,7 +204,7 @@
this.searchValue = options.searchVal || '' this.searchValue = options.searchVal || ''
this.back = options.back; this.back = options.back;
if (options.shop == 'true') { if (options.shop == 'true') {
this.isShop = options.shop; this.isShop = true;
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '搜索店铺' title: '搜索店铺'
}) })
@ -241,7 +241,7 @@
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: '确认删除全部历史搜索记录?', content: '确认删除全部历史搜索记录?',
success: function(res) { success: (res) => {
if (res.confirm) { if (res.confirm) {
self.tempStorage = [] self.tempStorage = []
try { try {