Skip to content

Commit ac6321a

Browse files
author
yemeng21
committed
修复GitHub图标显示问题:移除top-level await
1 parent 916e621 commit ac6321a

9 files changed

Lines changed: 46 additions & 43 deletions

File tree

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/assets/vue-BWIngLeH.js‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎docs/assets/vue-D07aDUMu.js‎

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/index.html‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<link rel="icon" href="./favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>JDArmy RTASS - Red Teaming Asessment Scoring System</title>
8-
<script type="module" crossorigin src="./assets/index-Dxmggluv.js"></script>
9-
<link rel="modulepreload" crossorigin href="./assets/vue-BWIngLeH.js">
10-
<link rel="modulepreload" crossorigin href="./assets/vue-i18n-3J6tTkhB.js">
11-
<link rel="modulepreload" crossorigin href="./assets/vue-router-mtekQifs.js">
12-
<link rel="modulepreload" crossorigin href="./assets/element-plus-BZCkO4RT.js">
13-
<link rel="stylesheet" crossorigin href="./assets/index-CKttq5Qh.css">
8+
<script type="module" crossorigin src="./assets/index-DOOO0TgV.js"></script>
9+
<link rel="modulepreload" crossorigin href="./assets/vue-D07aDUMu.js">
10+
<link rel="modulepreload" crossorigin href="./assets/vue-i18n-DRLRBmQ9.js">
11+
<link rel="modulepreload" crossorigin href="./assets/vue-router-Bli_Cu9m.js">
12+
<link rel="modulepreload" crossorigin href="./assets/element-plus-BYuXvcZp.js">
13+
<link rel="stylesheet" crossorigin href="./assets/index-8pMWAKBE.css">
1414
</head>
1515
<body>
1616
<div id="app">

‎src/components/GithubPane.vue‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ githubApi.interceptors.response.use(
1919
}
2020
);
2121
22-
try {
23-
const res = await githubApi.get("https://api.github.com/repos/JDArmy/RTASS");
24-
stargazersCount.value = res.data.stargazers_count;
25-
forksCount.value = res.data.forks_count;
26-
} catch {}
22+
const getGithubData = async () => {
23+
try {
24+
const res = await githubApi.get("https://api.github.com/repos/JDArmy/RTASS");
25+
stargazersCount.value = res.data.stargazers_count;
26+
forksCount.value = res.data.forks_count;
27+
} catch {}
28+
};
29+
getGithubData();
2730
</script>
2831

2932
<template>

0 commit comments

Comments
 (0)