English name
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user