fix: bind Shopee search enter key to sync
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user