Skip to content

Commit 54c236b

Browse files
authored
fix: optimize search reset and format in marketplace (#392)
1 parent f001290 commit 54c236b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/views/Marketplace.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ limitations under the License. -->
7878
function searchMenus() {
7979
if (!searchText.value) {
8080
menus.value = appStore.allMenus;
81+
currentItems.value = menus.value[0] || {};
8182
return;
8283
}
8384
@@ -149,6 +150,7 @@ limitations under the License. -->
149150
border-right: 1px solid var(--sw-marketplace-border);
150151
align-content: flex-start;
151152
height: 100%;
153+
width: 100%;
152154
overflow: auto;
153155
}
154156

0 commit comments

Comments
 (0)