fix: optimize search reset and format in marketplace

This commit is contained in:
Claire 2024-04-18 17:07:58 +08:00
parent f001290658
commit ae9870a7e4

View File

@ -78,6 +78,7 @@ limitations under the License. -->
function searchMenus() {
if (!searchText.value) {
menus.value = appStore.allMenus;
currentItems.value = menus.value[0] || {};
return;
}
@ -149,6 +150,7 @@ limitations under the License. -->
border-right: 1px solid var(--sw-marketplace-border);
align-content: flex-start;
height: 100%;
width: 100%;
overflow: auto;
}