🔨 Refactor: remove password mode of picbed setting

This commit is contained in:
萌萌哒赫萝 2023-03-17 23:51:04 +08:00
parent 37139b0d6e
commit ae434b5a9f
2 changed files with 6 additions and 5 deletions

View File

@ -28,14 +28,14 @@ CURRENT_PICBED: Current Picbed
# ---renderer i18n begin---
CHOOSE_YOUR_DEFAULT_PICBED: 'Choose ${d} as your default picbed:'
UPLOAD_AREA: Upload Area
UPLOAD_AREA: Upload
UPLOAD_VIEW_HINT: Click to open picbeds settings
MANAGE_PAGE: Manage Page
GALLERY: Gallery
PICBEDS_SETTINGS: Picbeds Settings
PICBEDS_SETTINGS: Picbeds
PICBEDS_MANAGE: Picbeds Manage
PICLIST_SETTINGS: PicList Settings
PLUGIN_SETTINGS: Plugins Settings
PICLIST_SETTINGS: Settings
PLUGIN_SETTINGS: Plugins
PICLIST_SPONSOR_TEXT: PicList is a free software, if you like it, please don't forget to buy me a cup of coffee.
ALIPAY: Alipay
WECHATPAY: Wechat Pay

View File

@ -32,7 +32,7 @@
<el-input
v-if="item.type === 'input' || item.type === 'password'"
v-model="ruleForm[item.name]"
:type="item.type === 'password' ? 'password' : 'input'"
type="input"
:placeholder="item.message || item.name"
/>
<el-select
@ -78,6 +78,7 @@ import { cloneDeep, union } from 'lodash'
import { getConfig } from '@/utils/dataSender'
import { useRoute } from 'vue-router'
import type { FormInstance } from 'element-plus'
import { T as $T } from '@/i18n'
interface IProps {
config: any[]