修复输入框组件bug

pull/389/head
lyswhut 2020-10-08 17:09:26 +08:00
parent 7720b416d5
commit 82e047dc66
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
### 修复
- 修复聚合搜索的分页问题
- 修复代理输入框输入的内容不生效的问题

View File

@ -1,7 +1,7 @@
<template lang="pug">
input(:class="$style.input" :type="type" :placeholder="placeholder" :value="value" :disabled="disabled"
@focus="$emit('focus', $event)" @blur="$emit('blur', $event)" @input="$emit('input', $event.trim())" @change="$emit('change', text)"
@keyup.enter="$emit('submit', text)")
@focus="$emit('focus', $event)" @blur="$emit('blur', $event)" @input="$emit('input', $event.target.value.trim())" @change="$emit('change', $event.target.value.trim())"
@keyup.enter="$emit('submit', $event.target.value.trim())")
</template>
<script>

View File

@ -106,7 +106,7 @@
"hot_key_desktop_lyric_toggle_always_top": "Top Desktop Lyrics Switch",
"network": "Network",
"network_proxy_title": "Proxy (False setting would block Internet connections)",
"network_proxy_title": "HTTP Proxy (False setting would block Internet connections)",
"network_proxy_host": "Host",
"network_proxy_port": "Port",
"network_proxy_username": "Username",

View File

@ -106,7 +106,7 @@
"hot_key_desktop_lyric_toggle_always_top": "桌面歌词置顶切换",
"network": "网络设置",
"network_proxy_title": "代理设置(乱设置软件将无法联网)",
"network_proxy_title": "HTTP代理设置(乱设置软件将无法联网)",
"network_proxy_host": "主机",
"network_proxy_port": "端口",
"network_proxy_username": "用户名",

View File

@ -99,7 +99,7 @@
"hot_key_desktop_lyric_toggle_lock": "桌面歌詞鎖定切換",
"hot_key_desktop_lyric_toggle_always_top": "桌面歌詞置頂切換",
"network": "網絡設置",
"network_proxy_title": "代理設置(亂設置軟件將無法聯網)",
"network_proxy_title": "HTTP代理設置(亂設置軟件將無法聯網)",
"network_proxy_host": "主機",
"network_proxy_port": "端口",
"network_proxy_username": "用戶名",