🔨 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

@@ -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[]