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