fix dashboard

This commit is contained in:
jxxghp
2023-07-12 08:28:08 +08:00
parent 87956a2259
commit f96156057d
3 changed files with 5 additions and 9 deletions

View File

@@ -64,6 +64,9 @@ onUnmounted(() => {
</div>
</template>
</VListItem>
<VListItem v-if="schedulerList.length === 0">
<VListItemTitle class="text-center">没有后台服务</VListItemTitle>
</VListItem>
</VList>
</VCardText>
</VCard>

View File

@@ -44,7 +44,7 @@ onMounted(() => {
{{ formatFileSize(storage) }}
</h5>
<p class="mt-2">已使用 {{ usedPercent }}% 🚀</p>
<p class="mt-1"><VProgressLinear :model-value="usedPercent" /></p>
<p class="mt-1"><VProgressLinear :model-value="usedPercent" color="primary" /></p>
</VCardText>
<!-- Triangle Background -->

View File

@@ -52,14 +52,7 @@ const options = controlledComputed(
},
},
dataLabels: { enabled: false },
colors: [
currentTheme.value["grey-100"],
currentTheme.value["grey-100"],
currentTheme.value["grey-100"],
currentTheme.value.primary,
currentTheme.value["grey-100"],
currentTheme.value["grey-100"],
],
colors: [currentTheme.value.primary],
states: {
hover: { filter: { type: "none" } },
active: { filter: { type: "none" } },