mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-22 18:22:53 +08:00
✨ 支持 setSubInput API
This commit is contained in:
@@ -47,10 +47,11 @@ const createPluginManager = (): any => {
|
||||
// @ts-ignore
|
||||
// document.getElementById("search").value = "";
|
||||
// state.searchValue = "";
|
||||
setSearchValue("");
|
||||
}
|
||||
};
|
||||
|
||||
const { searchValue, onSearch } = searchManager();
|
||||
const { searchValue, onSearch, setSearchValue, placeholder } = searchManager();
|
||||
const { options } = optionsManager({
|
||||
searchValue,
|
||||
baseDir,
|
||||
@@ -91,6 +92,7 @@ const createPluginManager = (): any => {
|
||||
changeSelect,
|
||||
options,
|
||||
searchValue,
|
||||
placeholder,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user