fix: confirm bug

This commit is contained in:
feng626
2022-06-16 12:39:41 +08:00
parent 0fa05aaeb4
commit 7fe91756c9

View File

@@ -14,7 +14,7 @@
<div style="line-height: 34px;text-align: center">{{ Label }}</div>
</el-col>
<el-col :md="14" :sm="24">
<el-input v-model="SecretKey" v-bind="showPassword" />
<el-input v-model="SecretKey" :show-password="showPassword" />
<span class="help-tips help-block">{{ HelpText }}</span>
</el-col>
<el-col :md="4" :sm="24">
@@ -46,10 +46,9 @@ export default {
computed: {
showPassword() {
if (this.ConfirmType === 'password') {
console.log('--------------')
return { 'show-password': true }
return true
}
return {}
return false
}
},
watch: {