From 7ee3d307df39bdcdae009cd4067526547d56af8d Mon Sep 17 00:00:00 2001 From: xinwen Date: Fri, 29 Oct 2021 10:40:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9D=9E=E6=9C=AC=E5=9C=B0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=8D=E8=83=BD=E7=BB=91=E5=AE=9A=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/userviews/users/UserProfile/ProfileInfo.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/userviews/users/UserProfile/ProfileInfo.vue b/src/userviews/users/UserProfile/ProfileInfo.vue index 5dd44f852..eb4c27386 100644 --- a/src/userviews/users/UserProfile/ProfileInfo.vue +++ b/src/userviews/users/UserProfile/ProfileInfo.vue @@ -73,8 +73,7 @@ export default { title: this.$t('users.setWeCom'), attrs: { type: 'primary', - label: this.$store.state.users.profile.is_wecom_bound ? this.$t('common.unbind') : this.$t('common.bind'), - disabled: this.$store.state.users.profile.source !== 'local' + label: this.$store.state.users.profile.is_wecom_bound ? this.$t('common.unbind') : this.$t('common.bind') }, has: this.$store.getters.publicSettings.AUTH_WECOM, callbacks: { @@ -88,8 +87,7 @@ export default { title: this.$t('users.setDingTalk'), attrs: { type: 'primary', - label: this.$store.state.users.profile.is_dingtalk_bound ? this.$t('common.unbind') : this.$t('common.bind'), - disabled: this.$store.state.users.profile.source !== 'local' + label: this.$store.state.users.profile.is_dingtalk_bound ? this.$t('common.unbind') : this.$t('common.bind') }, has: this.$store.getters.publicSettings.AUTH_DINGTALK, callbacks: { @@ -103,8 +101,7 @@ export default { title: this.$t('users.setFeiShu'), attrs: { type: 'primary', - label: this.$store.state.users.profile.is_feishu_bound ? this.$t('common.unbind') : this.$t('common.bind'), - disabled: this.$store.state.users.profile.source !== 'local' + label: this.$store.state.users.profile.is_feishu_bound ? this.$t('common.unbind') : this.$t('common.bind') }, has: this.$store.getters.publicSettings.AUTH_FEISHU, callbacks: {