mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
fix: 修复修改个人信息后点击tip链接跳转失败问题
This commit is contained in:
parent
c83abe32c6
commit
b6786687b6
@ -1,11 +1,8 @@
|
||||
<template>
|
||||
<IBox>
|
||||
<GenericCreateUpdateForm
|
||||
:fields="fields"
|
||||
:fields-meta="fieldsMeta"
|
||||
:initial="object"
|
||||
:url="url"
|
||||
:submit-method="submitMethod"
|
||||
v-bind="$data"
|
||||
/>
|
||||
</IBox>
|
||||
</template>
|
||||
@ -29,6 +26,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
url: `/api/v1/users/profile/`,
|
||||
hasDetailInMsg: false,
|
||||
fields: [
|
||||
[this.$t('users.Account'), ['username', 'name', 'email']],
|
||||
[this.$t('common.Other'), ['phone', 'wechat']]
|
||||
@ -43,13 +41,11 @@ export default {
|
||||
email: {
|
||||
disabled: true
|
||||
}
|
||||
},
|
||||
submitMethod() {
|
||||
return 'patch'
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submitMethod() {
|
||||
return 'patch'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user