From 94c25b5dcb11c89acbc195471be021ca4a678291 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 24 Dec 2020 14:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=97=E8=A1=A8=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=BC=B9=E7=AA=97=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/material/ListSortModal.vue | 24 ++++++++++++++----- src/renderer/views/List.vue | 6 +++++ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/renderer/components/material/ListSortModal.vue b/src/renderer/components/material/ListSortModal.vue index 79af530d..981ed4f5 100644 --- a/src/renderer/components/material/ListSortModal.vue +++ b/src/renderer/components/material/ListSortModal.vue @@ -2,8 +2,9 @@ material-modal(:show="show" @close="handleClose") main(:class="$style.main") h2 {{selectedNum > 0 ? $t('material.list_sort_modal.title_multiple', { num: selectedNum }) : $t('material.list_sort_modal.title', { name: musicInfo ? musicInfo.name : '' })}} - material-input(:class="$style.input" type="number" v-model="sortNum" ref="input" :placeholder="$t('material.list_sort_modal.input_tip')" @keydown.native.enter="handleSubmit") - material-btn(:class="$style.btn" @click="handleSubmit") {{$t('material.list_sort_modal.btn_confirm')}} + material-input(:class="$style.input" type="number" v-model="sortNum" ref="input" @blur.native="verify" :placeholder="$t('material.list_sort_modal.input_tip')" @keydown.native.enter="handleSubmit") + div(:class="$style.footer") + material-btn(:class="$style.btn" @click="handleSubmit") {{$t('material.list_sort_modal.btn_confirm')}}