diff --git a/pkg/app/pagewriter/login/mindspore.html b/pkg/app/pagewriter/login/mindspore.html index 11bf3f0a7e..ed7949a2f9 100644 --- a/pkg/app/pagewriter/login/mindspore.html +++ b/pkg/app/pagewriter/login/mindspore.html @@ -157,12 +157,22 @@

- 我已阅读并同意《用户授权协议》和社区《隐私政策》《用户授权协议》《用户授权协议》和社区《隐私政策》 -

+

@@ -178,6 +188,7 @@ btn.addEventListener("click", function () { checkbox.checked ? "" : event.preventDefault(); }); + if (window.location.hash) { (function () { var inputs = document.getElementsByName("rd"); @@ -192,6 +203,15 @@ } })(); } + + // 判断是否是github + const { href } = window.location + if (href.includes('summary-github')) { + document.querySelector('.gitee-link').remove() + } else { + document.querySelector('.github-link').remove() + } +