Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Commit ae75f19

Browse files
committed
🐞 fix test
1 parent 866fac0 commit ae75f19

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,18 @@ jobs:
107107
# 构建 Electron App
108108
- name: Build Windows x64 & ARM64 App
109109
if: runner.os == 'Windows'
110-
run: pnpm build:win -- --x64 --arm64 || true
110+
run: pnpm build:win -- --x64 --arm64
111111
env:
112112
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113113
- name: Build macOS Universal App
114114
if: runner.os == 'macOS'
115-
run: pnpm build:mac -- --x64 --arm64 || true
115+
run: pnpm build:mac -- --x64 --arm64
116116
shell: bash
117117
env:
118118
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119
- name: Build Linux x64 & ARM64 App
120120
if: runner.os == 'Linux'
121-
run: pnpm build:linux -- --x64 --arm64 || true
121+
run: pnpm build:linux -- --x64 --arm64
122122
shell: bash
123123
env:
124124
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

components.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ declare module 'vue' {
2424
CoverList: typeof import('./src/components/List/CoverList.vue')['default']
2525
CoverMenu: typeof import('./src/components/Menu/CoverMenu.vue')['default']
2626
CreatePlaylist: typeof import('./src/components/Modal/CreatePlaylist.vue')['default']
27-
DownloadManager: typeof import('./src/components/Global/DownloadManager.vue')['default']
2827
DownloadModal: typeof import('./src/components/Modal/DownloadModal.vue')['default']
29-
DownloadSong: typeof import('./src/components/Modal/DownloadSong.vue')['default']
3028
Equalizer: typeof import('./src/components/Modal/Equalizer.vue')['default']
3129
ExcludeLyrics: typeof import('./src/components/Modal/ExcludeLyrics.vue')['default']
3230
FullPlayer: typeof import('./src/components/Player/FullPlayer.vue')['default']
@@ -115,7 +113,6 @@ declare module 'vue' {
115113
NSelect: typeof import('naive-ui')['NSelect']
116114
NSkeleton: typeof import('naive-ui')['NSkeleton']
117115
NSlider: typeof import('naive-ui')['NSlider']
118-
NSpace: typeof import('naive-ui')['NSpace']
119116
NSpin: typeof import('naive-ui')['NSpin']
120117
NSwitch: typeof import('naive-ui')['NSwitch']
121118
NTab: typeof import('naive-ui')['NTab']

src/components/Layout/Menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<n-menu
44
ref="menuRef"
55
v-model:value="menuActiveKey"
6+
v-model:expanded-keys="settingStore.menuExpandedKeys"
67
:class="{ cover: settingStore.menuShowCover }"
78
:indent="0"
89
:root-indent="26"
910
:collapsed="statusStore.menuCollapsed"
1011
:collapsed-width="64"
1112
:collapsed-icon-size="22"
12-
v-model:expanded-keys="settingStore.menuExpandedKeys"
1313
:options="menuOptions"
1414
:render-label="renderMenuLabel"
1515
@update:value="menuUpdate"

src/components/Modal/CloudMatch.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="cloud-match">
3-
<n-form ref="matchFormRef" :model="matchFormData" :rules="matchFormRules">
3+
<n-form :model="matchFormData" :rules="matchFormRules">
44
<n-form-item path="sid" label="原歌曲 ID">
55
<n-input-number v-model:value="matchFormData.sid" :show-button="false" disabled />
66
</n-form-item>
@@ -35,7 +35,7 @@
3535

3636
<script setup lang="ts">
3737
import type { SongType } from "@/types/main";
38-
import type { FormInst, FormRules } from "naive-ui";
38+
import type { FormRules } from "naive-ui";
3939
import { useDataStore } from "@/stores";
4040
import { matchCloudSong } from "@/api/cloud";
4141
import { numberRule } from "@/utils/rules";
@@ -65,7 +65,6 @@ const isSongNormal = ref<boolean>(false);
6565
const matchSongData = ref<SongType | null>(null);
6666
6767
// 表单数据
68-
const matchFormRef = ref<FormInst | null>(null);
6968
const matchFormData = ref<MatchFormType>({ sid: props.id, asid: null });
7069
const matchFormRules: FormRules = { asid: { ...numberRule, message: "请输入歌曲 ID" } };
7170

0 commit comments

Comments
 (0)