删除传递的搜索内容

master
于肖磊 2026-02-13 11:33:54 +08:00
parent 673f0051f9
commit 8ce603ba5d
2 changed files with 2 additions and 4 deletions

View File

@ -11,7 +11,7 @@
</view>
<!-- #endif -->
<view class="wh-auto ht-auto" :style="header_padding_left">
<search-component :propSearchQuery="search_query" propIsDisabled @disabledSearch="handle_search" />
<search-component propIsDisabled @disabledSearch="handle_search" />
</view>
</view>
</view>
@ -293,7 +293,6 @@
is_add_comment: false,
//
listener_height: 0,
search_query: '',
};
},
computed: {

View File

@ -7,7 +7,7 @@
<view class="header-top">
<view class="ht-auto" :style="top_content_style + menu_button_info">
<view id="search-height" class="wh-auto ht-auto" :style="header_padding_left">
<search-component :propSearchQuery="search_query" propIsDisabled @disabledSearch="handle_search"/>
<search-component propIsDisabled @disabledSearch="handle_search"/>
</view>
</view>
<template v-if="tabs.length > 0">
@ -84,7 +84,6 @@ export default {
// #ifdef APP
top_content_style: 'padding-top:' + bar_height + 'px;padding-bottom:10px;',
// #endif
search_query: '',
tabs: [],
current_tabs_index: 0,
current_tabs_id: '',