mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
更新动态表单提示信息,优化歌曲列表管理界面,添加修改展示模板按钮
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
public: 'true',
|
public: 'true',
|
||||||
});
|
});
|
||||||
if (resp.code == 200) {
|
if (resp.code == 200) {
|
||||||
message.success('已保存至服务器');
|
message.success('已保存设置');
|
||||||
props.config?.forEach(item => {
|
props.config?.forEach(item => {
|
||||||
if (item.type === 'render') {
|
if (item.type === 'render') {
|
||||||
item.onUploaded?.(props.configData[item.key], props.configData);
|
item.onUploaded?.(props.configData[item.key], props.configData);
|
||||||
|
|||||||
@@ -645,15 +645,18 @@ onMounted(() => {
|
|||||||
<NDivider style="margin: 15px 0 15px 0" />
|
<NDivider style="margin: 15px 0 15px 0" />
|
||||||
</div>
|
</div>
|
||||||
</Transition>
|
</Transition>
|
||||||
<NButton
|
<template v-if="isSelf">
|
||||||
:disabled="selectedColumn.length <= 1 && isSelf"
|
<NButton
|
||||||
type="info"
|
|
||||||
size="small"
|
:disabled="selectedColumn.length <= 1 && isSelf"
|
||||||
@click="showBatchModal = true"
|
type="info"
|
||||||
>
|
size="small"
|
||||||
批量编辑
|
@click="showBatchModal = true"
|
||||||
</NButton>
|
>
|
||||||
<NDivider style="margin: 5px 0 5px 0" />
|
批量编辑
|
||||||
|
</NButton>
|
||||||
|
<NDivider style="margin: 5px 0 5px 0" />
|
||||||
|
</template>
|
||||||
<NDataTable
|
<NDataTable
|
||||||
v-model:checked-row-keys="selectedColumn"
|
v-model:checked-row-keys="selectedColumn"
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
@@ -611,6 +611,13 @@ onMounted(async () => {
|
|||||||
>
|
>
|
||||||
添加歌曲
|
添加歌曲
|
||||||
</NButton>
|
</NButton>
|
||||||
|
<NButton
|
||||||
|
secondary
|
||||||
|
type="primary"
|
||||||
|
@click="$router.push({ name: 'manage-index', query: { tab: 'setting', setting: 'template', template: 'songlist' } })"
|
||||||
|
>
|
||||||
|
修改展示模板
|
||||||
|
</NButton>
|
||||||
<NButton
|
<NButton
|
||||||
type="primary"
|
type="primary"
|
||||||
secondary
|
secondary
|
||||||
@@ -640,11 +647,6 @@ onMounted(async () => {
|
|||||||
>
|
>
|
||||||
刷新
|
刷新
|
||||||
</NButton>
|
</NButton>
|
||||||
<NButton
|
|
||||||
@click="$router.push({ name: 'manage-index', query: { tab: 'setting', setting: 'template', template: 'songlist' } })"
|
|
||||||
>
|
|
||||||
修改模板
|
|
||||||
</NButton>
|
|
||||||
</NSpace>
|
</NSpace>
|
||||||
<NDivider
|
<NDivider
|
||||||
style="margin: 16px 0 16px 0"
|
style="margin: 16px 0 16px 0"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user