From 9a024eb52e67713322a7e60deae38368a0d4c257 Mon Sep 17 00:00:00 2001 From: YunLei Date: Mon, 27 Mar 2023 17:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {static => public/static}/code.txt | 0 src/views/About.vue | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename {static => public/static}/code.txt (100%) diff --git a/static/code.txt b/public/static/code.txt similarity index 100% rename from static/code.txt rename to public/static/code.txt diff --git a/src/views/About.vue b/src/views/About.vue index bb5eb8f..2ae5fe2 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -6,7 +6,7 @@ class="mt10">{{ item|friendlyTimeFilter }}
- 下载代码 + 查看代码
@@ -69,7 +69,7 @@ export default { this.list = list; }, downloadClick(){ - window.open("/code.txt") + window.open("/static/code.txt") // window.location.href = "/code.txt" } },