mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-12 16:01:35 +08:00
Update StorageCard.vue to display a more informative toast message
This commit is contained in:
@@ -56,7 +56,7 @@ function openStorageDialog() {
|
|||||||
rcloneConfigDialog.value = true
|
rcloneConfigDialog.value = true
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
$toast.info('此存储类型无需配置参数')
|
$toast.info('此存储类型无需配置参数,请直接配置目录!')
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -90,7 +90,7 @@ const progressColor = computed(() => {
|
|||||||
|
|
||||||
// 计算存储使用率
|
// 计算存储使用率
|
||||||
const usage = computed(() => {
|
const usage = computed(() => {
|
||||||
return Math.round(((used.value) / (total.value || 1)) * 1000) / 10
|
return Math.round((used.value / (total.value || 1)) * 1000) / 10
|
||||||
})
|
})
|
||||||
|
|
||||||
// 查询存储信息
|
// 查询存储信息
|
||||||
|
|||||||
Reference in New Issue
Block a user