Skip to content

Commit c17f158

Browse files
committed
🔧 chore: change vue-tsc version
1 parent 8f57972 commit c17f158

4 files changed

Lines changed: 51 additions & 35 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ coverage
1515
*.local
1616
out
1717
.env
18-
auto-imports.d.ts
19-
components.d.ts
2018

2119
# Editor directories and files
2220
.vscode/*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"vite-plugin-wasm": "^3.5.0",
114114
"vue": "^3.5.25",
115115
"vue-router": "^4.6.3",
116-
"vue-tsc": "^3.1.6"
116+
"vue-tsc": "2.2.12"
117117
},
118118
"pnpm": {
119119
"overrides": {

pnpm-lock.yaml

Lines changed: 47 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/views/Download/layout.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<n-flex class="left" align="flex-end">
2222
<n-button
2323
:focusable="false"
24-
:disabled="!currentListData.length || currentTab !== 'download-downloaded'"
24+
:disabled="currentTab !== 'download-downloaded'"
2525
type="primary"
2626
strong
2727
secondary
@@ -36,9 +36,7 @@
3636
<n-button
3737
:focusable="false"
3838
:disabled="
39-
currentTab === 'download-downloaded'
40-
? false
41-
: dataStore.downloadingSongs.length === 0
39+
currentTab === 'download-downloaded' ? false : dataStore.downloadingSongs.length === 0
4240
"
4341
:loading="loading"
4442
class="more"
@@ -85,8 +83,8 @@ import { usePlayer } from "@/utils/player";
8583
import type { MessageReactive } from "naive-ui";
8684
import DownloadManager from "@/utils/downloadManager";
8785
88-
const router = useRouter();
8986
const route = useRoute();
87+
const router = useRouter();
9088
const settingStore = useSettingStore();
9189
const dataStore = useDataStore();
9290
const player = usePlayer();

0 commit comments

Comments
 (0)