fix(login): The default password was not synchronized on the front end.

This commit is contained in:
dataeaseShu
2025-11-07 13:59:29 +08:00
committed by dataeaseShu
parent 56e2eb17ab
commit 9eaecb637b
+2 -2
View File
@@ -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'))
})