fix: bind Shopee search enter key to sync

This commit is contained in:
QiuSW
2026-09-12 09:19:32 +08:00
parent fbc6627202
commit 5403379b25
+1 -1
View File
@@ -3,7 +3,7 @@
<h2>Shopee 商品</h2>
<p class="hint">输入 Shopee 商品 ID,从货憨憨同步并保存商品信息。</p>
<div class="toolbar">
<el-input v-model="searchId" placeholder="Shopee ID" clearable maxlength="128" aria-label="Shopee ID" @keyup.enter="search" />
<el-input v-model="searchId" placeholder="Shopee ID" clearable maxlength="128" aria-label="Shopee ID" @keyup.enter="sync" />
<el-button type="primary" :loading="syncing" @click="sync">查询并同步</el-button>
<el-button :loading="loading" @click="load">刷新已保存商品</el-button>
</div>