mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: confirm bug
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user