English name

This commit is contained in:
2024-10-29 09:57:14 +08:00
parent a67e52d60d
commit 62a4f2769a
6 changed files with 57 additions and 15 deletions

View File

@@ -813,7 +813,8 @@
export default {
data() {
return {
citeLoading: false, authorList: [],
citeLoading: false,
authorList: [],
loading: false,
authorArticlesList: [],
userrole: localStorage.getItem('U_status'),
@@ -1300,6 +1301,14 @@ export default {
// 保存个人信息
saveMessage() {
if (this.$validateString(this.MessForm.realname)) {
console.log('Input string is valid.');
} else {
console.log('Input string is invalid.');
this.$message.error(this.$t('info.realname'))
return false
}
this.$api
.post('api/Ucenter/updateUserInfo', this.MessForm)
.then((res) => {