修复默认歌单显示

This commit is contained in:
2025-03-31 18:35:08 +08:00
parent 03c9bfe761
commit 21e9e0fa27
4 changed files with 16 additions and 21 deletions

View File

@@ -2,7 +2,7 @@
import { computed, h, ref, watch } from 'vue'; // Import computed and watch
import { getUserAvatarUrl, isDarkMode } from '@/Utils';
import { SongListConfigTypeWithConfig } from '@/data/TemplateTypes';
import { defineItems, ExtractConfigData } from '@/data/VTsuruTypes';
import { defineTemplateConfig, ExtractConfigData } from '@/data/VTsuruTypes';
import { FILE_BASE_URL } from '@/data/constants';
import { NButton, NFlex, NIcon, NInput, NInputGroup, NInputGroupLabel, NTag, NTooltip, NSelect } from 'naive-ui'; // Import NSelect
import bilibili from '@/svgs/bilibili.svg';
@@ -216,7 +216,7 @@
export type TraditionalConfigType = ExtractConfigData<typeof Config>;
export const DefaultConfig = {} as TraditionalConfigType;
export const Config = defineItems([
export const Config = defineTemplateConfig([
{
name: '背景',
type: 'image',