更新动态表单提示信息,优化歌曲列表管理界面,添加修改展示模板按钮

This commit is contained in:
2025-03-31 19:15:15 +08:00
parent 21e9e0fa27
commit 25597149fc
4 changed files with 895 additions and 1035 deletions

View File

@@ -49,7 +49,7 @@
public: 'true',
});
if (resp.code == 200) {
message.success('已保存至服务器');
message.success('已保存设置');
props.config?.forEach(item => {
if (item.type === 'render') {
item.onUploaded?.(props.configData[item.key], props.configData);

View File

@@ -645,7 +645,9 @@ onMounted(() => {
<NDivider style="margin: 15px 0 15px 0" />
</div>
</Transition>
<template v-if="isSelf">
<NButton
:disabled="selectedColumn.length <= 1 && isSelf"
type="info"
size="small"
@@ -654,6 +656,7 @@ onMounted(() => {
批量编辑
</NButton>
<NDivider style="margin: 5px 0 5px 0" />
</template>
<NDataTable
v-model:checked-row-keys="selectedColumn"
size="small"

View File

@@ -611,6 +611,13 @@ onMounted(async () => {
>
添加歌曲
</NButton>
<NButton
secondary
type="primary"
@click="$router.push({ name: 'manage-index', query: { tab: 'setting', setting: 'template', template: 'songlist' } })"
>
修改展示模板
</NButton>
<NButton
type="primary"
secondary
@@ -640,11 +647,6 @@ onMounted(async () => {
>
刷新
</NButton>
<NButton
@click="$router.push({ name: 'manage-index', query: { tab: 'setting', setting: 'template', template: 'songlist' } })"
>
修改模板
</NButton>
</NSpace>
<NDivider
style="margin: 16px 0 16px 0"

File diff suppressed because it is too large Load Diff