diff --git a/bun.lockb b/bun.lockb index ccf46f9..576d75d 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 913b6a7..2abf3b3 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "vue-echarts": "^8.0.0", "vue-request": "^2.0.4", "vue-router": "^4.5.1", + "vue-toastification": "^1.7.14", "vue-turnstile": "^1.0.11", "vue3-aplayer": "^1.7.3", "vue3-marquee": "^4.2.2", diff --git a/src/components.d.ts b/src/components.d.ts index 0228175..d3f2ed6 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -18,18 +18,6 @@ declare module 'vue' { LabelItem: typeof import('./components/LabelItem.vue')['default'] LiveInfoContainer: typeof import('./components/LiveInfoContainer.vue')['default'] MonacoEditorComponent: typeof import('./components/MonacoEditorComponent.vue')['default'] - NAlert: typeof import('naive-ui')['NAlert'] - NBadge: typeof import('naive-ui')['NBadge'] - NEllipsis: typeof import('naive-ui')['NEllipsis'] - NEmpty: typeof import('naive-ui')['NEmpty'] - NFlex: typeof import('naive-ui')['NFlex'] - NFormItemGi: typeof import('naive-ui')['NFormItemGi'] - NGridItem: typeof import('naive-ui')['NGridItem'] - NIcon: typeof import('naive-ui')['NIcon'] - NScrollbar: typeof import('naive-ui')['NScrollbar'] - NTag: typeof import('naive-ui')['NTag'] - NText: typeof import('naive-ui')['NText'] - NTime: typeof import('naive-ui')['NTime'] PointGoodsItem: typeof import('./components/manage/PointGoodsItem.vue')['default'] PointHistoryCard: typeof import('./components/manage/PointHistoryCard.vue')['default'] PointOrderCard: typeof import('./components/manage/PointOrderCard.vue')['default'] diff --git a/src/components/SongList.vue b/src/components/SongList.vue index 6568049..6ce98a7 100644 --- a/src/components/SongList.vue +++ b/src/components/SongList.vue @@ -294,7 +294,7 @@ function createColumns(): DataTableColumns { resizable: true, minWidth: 150, // 增加最小宽度 width: 300, - sorter: 'default', // 启用默认排序 + sorter: true, // 启用默认排序 render(data) { // 同时显示原名和翻译名 (如果存在) return h(NSpace, { vertical: true, size: 0, wrap: false }, () => [ diff --git a/src/components/TempComponent.vue b/src/components/TempComponent.vue index 9b9ae47..9953f79 100644 --- a/src/components/TempComponent.vue +++ b/src/components/TempComponent.vue @@ -1,5 +1,5 @@ {{ hasOtherSingSong - ? '还有其他正在演唱的歌曲' + ? '还有其他正在进行的点播' : song.status == SongRequestStatus.Waiting && song.id - ? '开始演唱' - : '停止演唱' + ? '开始处理' + : '停止处理' }} @@ -263,45 +263,56 @@ const hasOtherSingSong = computed(() => { 完成 - +