diff --git a/snowy-admin-web/src/layout/components/mixins/search.js b/snowy-admin-web/src/layout/components/mixins/search.js index 9b80123e..22277dbf 100755 --- a/snowy-admin-web/src/layout/components/mixins/search.js +++ b/snowy-admin-web/src/layout/components/mixins/search.js @@ -1,5 +1,4 @@ import { mapState, mapMutations } from 'vuex' - import hotkeys from 'hotkeys-js' export default { @@ -30,9 +29,7 @@ export default { searchToggle: 'search/toggle', searchSet: 'search/set' }), - /** - * 接收点击搜索按钮 - */ + // 接收点击搜索按钮 handleSearchClick() { this.searchToggle() if (this.searchActive) { diff --git a/snowy-admin-web/src/layout/components/panel-search/index.vue b/snowy-admin-web/src/layout/components/panel-search/index.vue index 2cb7c90b..f500a6fb 100644 --- a/snowy-admin-web/src/layout/components/panel-search/index.vue +++ b/snowy-admin-web/src/layout/components/panel-search/index.vue @@ -6,8 +6,7 @@ class="search-box" style="width: 100%" allowClear - placeholder="搜索页面(支持拼音检索)" - size="large" + placeholder="搜索页面(支持拼音检索)" @change="querySearch" > -
+