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

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