diff --git a/.pnp.cjs b/.pnp.cjs index 2ed1173..59779d6 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -5554,7 +5554,7 @@ const RAW_RUNTIME_STATE = ["autoprefixer", "virtual:f75ee15f791266b2a9e7ffe35ac1678a30fd9c9040d7c1009869bf9b007be6d372c7549d53f3c2ea1196c0ed1eab2f69c3bf7fb7575d8a4977196383d0e2fa7c#npm:10.4.8"],\ ["@types/postcss", null],\ ["browserslist", "npm:4.21.3"],\ - ["caniuse-lite", "npm:1.0.30001564"],\ + ["caniuse-lite", "npm:1.0.30001663"],\ ["fraction.js", "npm:4.2.0"],\ ["normalize-range", "npm:0.1.2"],\ ["picocolors", "npm:1.0.0"],\ @@ -6049,7 +6049,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/browserslist-npm-4.14.0-067b74568f-0cf2b5a308.zip/node_modules/browserslist/",\ "packageDependencies": [\ ["browserslist", "npm:4.14.0"],\ - ["caniuse-lite", "npm:1.0.30001564"],\ + ["caniuse-lite", "npm:1.0.30001663"],\ ["electron-to-chromium", "npm:1.3.556"],\ ["escalade", "npm:3.0.2"],\ ["node-releases", "npm:1.1.60"]\ @@ -6060,7 +6060,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/browserslist-npm-4.21.3-7dabe86a57-a8f816d4fa.zip/node_modules/browserslist/",\ "packageDependencies": [\ ["browserslist", "npm:4.21.3"],\ - ["caniuse-lite", "npm:1.0.30001564"],\ + ["caniuse-lite", "npm:1.0.30001663"],\ ["electron-to-chromium", "npm:1.4.211"],\ ["node-releases", "npm:2.0.6"],\ ["update-browserslist-db", "virtual:7dabe86a57e66f38602a3318a9a679c09cef5315077ee4afa3dbf7e16ac6eadfd7834360e07fea78c56290801aa035a0803a3e03041c77287c222df384f2a179#npm:1.0.5"]\ @@ -6201,7 +6201,7 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["caniuse-api", "npm:3.0.0"],\ ["browserslist", "npm:4.14.0"],\ - ["caniuse-lite", "npm:1.0.30001564"],\ + ["caniuse-lite", "npm:1.0.30001663"],\ ["lodash.memoize", "npm:4.1.2"],\ ["lodash.uniq", "npm:4.5.0"]\ ],\ @@ -6209,10 +6209,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["caniuse-lite", [\ - ["npm:1.0.30001564", {\ - "packageLocation": "./.yarn/cache/caniuse-lite-npm-1.0.30001564-08be3c9f32-eb63d0b5be.zip/node_modules/caniuse-lite/",\ + ["npm:1.0.30001663", {\ + "packageLocation": "./.yarn/cache/caniuse-lite-npm-1.0.30001663-7be54201b4-a67aba45e1.zip/node_modules/caniuse-lite/",\ "packageDependencies": [\ - ["caniuse-lite", "npm:1.0.30001564"]\ + ["caniuse-lite", "npm:1.0.30001663"]\ ],\ "linkType": "HARD"\ }]\ diff --git a/src/infrastructure/widgets.js b/src/infrastructure/widgets.js index e40c49d..d17ca57 100644 --- a/src/infrastructure/widgets.js +++ b/src/infrastructure/widgets.js @@ -165,51 +165,48 @@ class LoginPopupSelf extends Component { )} -
-

第三方认证登录

-

- - -  GitHub - -
- (请先添加清华邮箱/校友邮箱) -

-

- - -  闭社 - -

-

- - -  T大树洞 - -

-

- 前往Telegram群查询15分钟临时token -
- - -  清华大水群 - -

-

- -

-
+ + {!token_phrase && ( + <> +

第三方认证登录

+

+ + +  GitHub + +
+ (请先添加清华邮箱/校友邮箱) +

+

+ + +  闭社 + +

+

+ + +  T大树洞 + +

+

+ 前往Telegram群查询15分钟临时token +
+ + +  清华大水群 + +

+ + )}

diff --git a/yarn.lock b/yarn.lock index ccd8178..d623d0b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4127,9 +4127,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001111, caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001373": - version: 1.0.30001564 - resolution: "caniuse-lite@npm:1.0.30001564" - checksum: eb63d0b5be8a4609ac89c02e4518c6a3adb2884fffd6b43151b43f06a5f367bde3e2c90a5df2213d094ef1af2d43f5b8756601955d077116f2a2897534b9ce33 + version: 1.0.30001663 + resolution: "caniuse-lite@npm:1.0.30001663" + checksum: a67aba45e10bf56f584f82ab414ff21f5d23ddbd71936839b79c305710b332d8b91df37948a525fe1c9cede81ab56a3d831ee6e3f1fa11c4f299651ea49a8067 languageName: node linkType: hard