fix(系统设置): 个人信息填写第三方账号页面保存问题
--bug=1018842 --user=李玉号 【系统设置】个人信息-第三方账号-输入tapd昵称-点击确定无反应 https://www.tapd.cn/55049933/s/1276547
This commit is contained in:
parent
686ad7d2df
commit
21d1c1e57b
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<div v-loading="loading">
|
||||
<el-tabs v-model="activeIndex">
|
||||
<el-tab-pane v-if="hasPermission('PERSONAL_INFORMATION:READ+EDIT')" name="commons.personal_setting"
|
||||
:label="$t('commons.personal_setting')"
|
||||
|
@ -55,7 +55,7 @@ import JiraUserInfo from "./JiraUserInfo";
|
|||
import AzureDevopsUserInfo from "./AzureDevopsUserInfo";
|
||||
import {getIntegrationService} from "../../api/workspace";
|
||||
import {useUserStore} from "@/store";
|
||||
import {handleAuth as _handleAuth,getUserInfo, getWsAndPj} from "../../api/user";
|
||||
import {handleAuth as _handleAuth, getUserInfo, getWsAndPj, updateInfo} from "../../api/user";
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
|
@ -95,6 +95,7 @@ export default {
|
|||
azureDevopsPat: ''
|
||||
},
|
||||
result: {},
|
||||
loading: false,
|
||||
workspaceList: [],
|
||||
projectList: []
|
||||
}
|
||||
|
@ -184,7 +185,7 @@ export default {
|
|||
let param = {};
|
||||
Object.assign(param, this.form);
|
||||
param.platformInfo = JSON.stringify(this.form.platformInfo);
|
||||
this.result = this.$post(this.updatePath, param, response => {
|
||||
this.loading = updateInfo(param).then(response => {
|
||||
this.$success(this.$t('commons.modify_success'));
|
||||
userStore.$patch(response);
|
||||
this.$emit('closeDialog', false);
|
||||
|
|
Loading…
Reference in New Issue