微信谷歌解绑按钮添加提二次提示框
This commit is contained in:
@@ -111,28 +111,46 @@ export default defineComponent({
|
|||||||
.catch((res) => {accountHomeData.loadingShow = false});
|
.catch((res) => {accountHomeData.loadingShow = false});
|
||||||
}
|
}
|
||||||
const ungroupWeiXinModel = ()=>{
|
const ungroupWeiXinModel = ()=>{
|
||||||
Https.axiosGet(Https.httpUrls.unbindWeChat,).then((rv)=>{
|
Modal.confirm({
|
||||||
message.success(t('frontPage.jsContent1'));
|
title: t('frontPage.UnbindTip'),
|
||||||
let value = {
|
okText: t('Yes'),
|
||||||
accountExtendList:{
|
cancelText: t('No'),
|
||||||
WeChat:undefined,
|
mask:false,
|
||||||
Google:accountHomeData.userDetail.accountExtendList?.Google
|
centered:true,
|
||||||
}
|
onOk() {
|
||||||
|
Https.axiosGet(Https.httpUrls.unbindWeChat,).then((rv)=>{
|
||||||
|
message.success(t('frontPage.jsContent1'));
|
||||||
|
let value = {
|
||||||
|
accountExtendList:{
|
||||||
|
WeChat:undefined,
|
||||||
|
Google:accountHomeData.userDetail.accountExtendList?.Google
|
||||||
|
}
|
||||||
|
}
|
||||||
|
store.commit("upUserDetail", value)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
store.commit("upUserDetail", value)
|
});
|
||||||
})
|
|
||||||
}
|
}
|
||||||
const ungroupGoogleModel = ()=>{
|
const ungroupGoogleModel = ()=>{
|
||||||
Https.axiosGet(Https.httpUrls.unbindGoogle,).then((rv)=>{
|
Modal.confirm({
|
||||||
let value = {
|
title: t('frontPage.UnbindTip'),
|
||||||
accountExtendList:{
|
okText: t('Yes'),
|
||||||
WeChat:accountHomeData.userDetail.accountExtendList?.WeChat,
|
cancelText: t('No'),
|
||||||
Google:undefined,
|
mask:false,
|
||||||
}
|
centered:true,
|
||||||
|
onOk() {
|
||||||
|
Https.axiosGet(Https.httpUrls.unbindGoogle,).then((rv)=>{
|
||||||
|
let value = {
|
||||||
|
accountExtendList:{
|
||||||
|
WeChat:accountHomeData.userDetail.accountExtendList?.WeChat,
|
||||||
|
Google:undefined,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
store.commit("upUserDetail", value)
|
||||||
|
message.success(t('frontPage.jsContent1'));
|
||||||
|
})
|
||||||
}
|
}
|
||||||
store.commit("upUserDetail", value)
|
});
|
||||||
message.success(t('frontPage.jsContent1'));
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
const modifyEmail = ()=>{
|
const modifyEmail = ()=>{
|
||||||
bindPageDom.bindEmail.init('Modify')
|
bindPageDom.bindEmail.init('Modify')
|
||||||
|
|||||||
@@ -825,6 +825,7 @@ export default {
|
|||||||
Modify: "修改",
|
Modify: "修改",
|
||||||
jsContent1: "取消绑定成功",
|
jsContent1: "取消绑定成功",
|
||||||
jsContent2: "当前网络无法加载谷歌",
|
jsContent2: "当前网络无法加载谷歌",
|
||||||
|
UnbindTip: "确认取消绑定吗?",
|
||||||
},
|
},
|
||||||
Renew: {
|
Renew: {
|
||||||
title: "选择你的最佳计划",
|
title: "选择你的最佳计划",
|
||||||
@@ -1413,5 +1414,7 @@ export default {
|
|||||||
ToProductImage:'产品图',
|
ToProductImage:'产品图',
|
||||||
Relight:'打光',
|
Relight:'打光',
|
||||||
ChatRobot:'对话生成',
|
ChatRobot:'对话生成',
|
||||||
|
Yes:'是',
|
||||||
|
No:'否',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -825,6 +825,7 @@ export default {
|
|||||||
Modify: "Modify",
|
Modify: "Modify",
|
||||||
jsContent1: "Successful discharge",
|
jsContent1: "Successful discharge",
|
||||||
jsContent2: "The current network cannot load Google",
|
jsContent2: "The current network cannot load Google",
|
||||||
|
UnbindTip: "Are you sure to cancel the binding?",
|
||||||
},
|
},
|
||||||
Renew: {
|
Renew: {
|
||||||
title: "Find Your Ideal Plan",
|
title: "Find Your Ideal Plan",
|
||||||
@@ -1413,5 +1414,7 @@ export default {
|
|||||||
ToProductImage:'ToProductImage',
|
ToProductImage:'ToProductImage',
|
||||||
Relight:'Relight',
|
Relight:'Relight',
|
||||||
ChatRobot:'ChatRobot',
|
ChatRobot:'ChatRobot',
|
||||||
|
Yes:'Yes',
|
||||||
|
No:'No',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user