fix: UI样式优化

This commit is contained in:
dataeaseShu
2025-05-12 11:32:56 +08:00
committed by fit2cloudrd
parent 31a271b79c
commit 3e31ae89cc

View File

@@ -138,8 +138,10 @@ const btnHoverStyle = computed(() => {
let btnColor = customStyle.btnColor
if (customStyle.btnColor.startsWith('rgb')) {
btnColor = rgbaTo16color(customStyle.btnColor)
} else {
btnColor = customStyle.btnColor.substr(1)
}
if (btnColor.startsWith('#')) {
btnColor = btnColor.substr(1)
}
return {