仪表板支持自定义标题

This commit is contained in:
jxxghp
2024-05-17 10:54:19 +08:00
parent ae4cce8abf
commit 33d2a396ce
2 changed files with 2 additions and 2 deletions

View File

@@ -264,7 +264,7 @@ onBeforeMount(async () => {
<VCardText>
<VRow>
<VCol v-for="item in dashboardConfigs" :key="item.id" cols="6" md="4" sm="4">
<VCheckbox v-model="enableConfig[item.id]" :label="item.name" />
<VCheckbox v-model="enableConfig[item.id]" :label="item.attrs?.title ?? item.name" />
</VCol>
</VRow>
</VCardText>