We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecedb85 commit dea7826Copy full SHA for dea7826
src/pages/index.astro
@@ -18,13 +18,6 @@ import BaseLayout from "../layouts/BaseLayout.astro";
18
</div>
19
</BaseLayout>
20
21
-<script>
22
- window.onload = () => {
23
- // 获取完整的来源 URL
24
- let referrer = document.referrer;
25
- console.log("来源ts测试:", referrer);
26
- };
27
-</script>
28
<script is:inline>
29
window.onload = () => {
30
// 获取完整的来源 URL
@@ -33,7 +26,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
33
};
34
</script>
35
36
+<!-- <script>
37
import { ToastMessageEvent } from "../utils/types";
38
31
39
32
const welcome = () => {
@@ -54,7 +47,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
54
47
);
55
48
56
49
window.onload = welcome;
57
50
+</script> -->
58
51
59
52
60
53
0 commit comments