This commit is contained in:
Vanessa 2023-03-28 10:22:32 +08:00 committed by Liang Ding
parent dd67910cc7
commit 07221f5f4b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ export const popSearch = () => {
title: '<input id="toolbarSearch" style="background-color: var(--b3-theme-surface);border: 0;" class="b3-text-field fn__block">',
icon:"iconSearch",
html: '<div id="searchPanel"></div>',
bindEvent(HTMLElement) {
bindEvent() {
initToolbarSearch();
const searchElement = document.getElementById("searchPanel");
// 不能使用 getEventName() https://ld246.com/article/1638887457149