From 0fa3d03bf8d76096d6a8bf6c376dc70ce0a1a672 Mon Sep 17 00:00:00 2001 From: yuntian001 <479820787@qq.com> Date: Mon, 8 Aug 2022 16:50:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=9D=A2=E5=8C=85?= =?UTF-8?q?=E5=B1=91bug,=E6=9E=84=E5=BB=BA=E6=96=B9=E5=BC=8F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=85=88vite=20build=E6=9E=84=E5=BB=BA=E5=90=8E?= =?UTF-8?q?=E8=BF=9B=E8=A1=8Cvue-tsc=E6=A0=A1=E9=AA=8C(=E4=B8=8D=E7=AE=A1?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=A0=A1=E9=AA=8C=E6=88=90=E5=8A=9F=E9=83=BD?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E6=9E=84=E5=BB=BA=E6=88=90=E5=8A=9F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- package.json | 2 +- src/layout/components/navbar/components/left.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f6deaff2..fbcfd121 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: docs +name: deploy on: # 每当 push 到 main 分支时触发部署 diff --git a/package.json b/package.json index 957d133d..a1dd60f7 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vue-tsc --noEmit && vite build -m prod", + "build": "vite build -m prod && vue-tsc --noEmit", "preview": "vite preview", "release": "release-it", "i": "npm install --registry=https://registry.npm.taobao.org && npx husky install" diff --git a/src/layout/components/navbar/components/left.vue b/src/layout/components/navbar/components/left.vue index a0820ea5..4507f94b 100644 --- a/src/layout/components/navbar/components/left.vue +++ b/src/layout/components/navbar/components/left.vue @@ -6,7 +6,7 @@ - {{ item.meta!.title }}