mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(login): The default password was not synchronized on the front end.
This commit is contained in:
@@ -243,7 +243,7 @@
|
||||
</el-icon>
|
||||
</span>
|
||||
<div class="down-template-content" style="align-items: center">
|
||||
<span>{{ t('prompt.default_password', { msg: 'SQLBot@123456' }) }}</span>
|
||||
<span>{{ t('prompt.default_password', { msg: defaultPwd }) }}</span>
|
||||
<el-button style="margin-left: 4px" size="small" text @click="copyPassword">{{
|
||||
t('datasource.copy')
|
||||
}}</el-button>
|
||||
@@ -535,7 +535,7 @@ const copyText = () => {
|
||||
}
|
||||
|
||||
const copyPassword = () => {
|
||||
copy('SQLBot@123456')
|
||||
copy(defaultPwd.value)
|
||||
.then(function () {
|
||||
ElMessage.success(t('embedded.copy_successful'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user