fix: 移动端搜索错误

This commit is contained in:
fit2cloud-chenyw 2022-03-01 12:15:19 +08:00
parent 9bd75bd4e6
commit aa32c5dfc1

View File

@ -136,7 +136,7 @@ export default {
* 点击软键盘搜索按键触发 * 点击软键盘搜索按键触发
*/ */
onNavigationBarSearchInputConfirmed(e) { onNavigationBarSearchInputConfirmed(e) {
let text = e.text; /* let text = e.text;
if (!text) { if (!text) {
this.isHistory = true; this.isHistory = true;
this.historyList = []; this.historyList = [];
@ -161,7 +161,7 @@ export default {
} }
} }
}); });
} } */
}, },
/** /**
* 点击导航栏 buttons 时触发 * 点击导航栏 buttons 时触发