halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
33.24k stars 9.59k forks source link

个人中心用户登录方式显示问题 #5048

Closed liuchangfitcloud closed 9 months ago

liuchangfitcloud commented 9 months ago

系统信息

使用的哪种方式运行?

Docker Compose

在线站点地址

https://www.wggznb.top/

发生了什么?

启用社交登录后,个人中心的登录方式无论当前用户是否已经绑定第三方登录都会显示只能解绑, 目前我只绑定了微信登录。

image

相关日志输出

No response

附加信息

No response

JohnNiang commented 9 months ago

/good-first-issue

应该是此前修改多语言的时候,误写了 key,只需要将下面的代码中的 unbind.button 更改为 bind.button 即可。

https://github.com/halo-dev/halo/blob/d777dbf7edf5ebd20f2fc0eb023ff67401696c70/console/uc-src/modules/profile/tabs/Detail.vue#L188

f2c-ci-robot[bot] commented 9 months ago

@JohnNiang: This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to [this](https://github.com/halo-dev/halo/issues/5048): >/good-first-issue > >应该是此前修改多语言的时候,误写了 key,只需要将下面的代码中的 `unbind.button` 更改为 `bind.button` 即可。 > >https://github.com/halo-dev/halo/blob/d777dbf7edf5ebd20f2fc0eb023ff67401696c70/console/uc-src/modules/profile/tabs/Detail.vue#L188 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.