|
|
@@ -144,7 +144,9 @@
|
|
|
|
|
|
<Empty v-if="list.length == 0 && !pageLoading">
|
|
|
<div v-if="isSelf" class="auto-bind-wechat">
|
|
|
- <span @click="callBindWeChat">绑定社交账号</span>,自动抓取更新
|
|
|
+ <!-- <span @click="callBindWeChat">绑定社交账号</span>,自动抓取更新 -->
|
|
|
+
|
|
|
+ 已绑定XXX账号<span @click="unbindWeChat">解绑</span>
|
|
|
</div>
|
|
|
</Empty>
|
|
|
|
|
|
@@ -191,6 +193,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<BindWeChatArticle ref="bindWeChat"></BindWeChatArticle>
|
|
|
+ <UnBindWeChatArticle ref="unBindWeChat"></UnBindWeChatArticle>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -208,6 +211,7 @@ import PersonalSeoData from "./personalData";
|
|
|
import moment from "moment";
|
|
|
import TLevelTag from "@/components/t-level-tag.vue";
|
|
|
import BindWeChatArticle from "@/components/bind_wechat_article";
|
|
|
+import UnBindWeChatArticle from "@/components/unbind_wechat_article";
|
|
|
|
|
|
export default {
|
|
|
name: "PersonalIndex",
|
|
|
@@ -219,7 +223,8 @@ export default {
|
|
|
CourseItem,
|
|
|
Empty,
|
|
|
TLevelTag,
|
|
|
- BindWeChatArticle
|
|
|
+ BindWeChatArticle,
|
|
|
+ UnBindWeChatArticle
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -503,6 +508,9 @@ export default {
|
|
|
uid: this.userinfo.uid,
|
|
|
avatar: this.userinfo.icon_url
|
|
|
});
|
|
|
+ },
|
|
|
+ unbindWeChat(){
|
|
|
+ this.$refs['unBindWeChat'].show()
|
|
|
}
|
|
|
}
|
|
|
};
|