Skip to content

Commit 9eaecb6

Browse files
committed
fix(login): The default password was not synchronized on the front end.
1 parent 56e2eb1 commit 9eaecb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/views/system/user/User.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
</el-icon>
244244
</span>
245245
<div class="down-template-content" style="align-items: center">
246-
<span>{{ t('prompt.default_password', { msg: 'SQLBot@123456' }) }}</span>
246+
<span>{{ t('prompt.default_password', { msg: defaultPwd }) }}</span>
247247
<el-button style="margin-left: 4px" size="small" text @click="copyPassword">{{
248248
t('datasource.copy')
249249
}}</el-button>
@@ -535,7 +535,7 @@ const copyText = () => {
535535
}
536536
537537
const copyPassword = () => {
538-
copy('SQLBot@123456')
538+
copy(defaultPwd.value)
539539
.then(function () {
540540
ElMessage.success(t('embedded.copy_successful'))
541541
})

0 commit comments

Comments
 (0)