cl-svg 参数 color 支持 "none"

This commit is contained in:
icssoa
2025-08-26 18:48:10 +08:00
parent 2edfb8a6cc
commit 1e8d712b89

View File

@@ -52,6 +52,10 @@ const props = defineProps({
// 颜色值
const color = computed(() => {
if (props.color == "none") {
return "";
}
if (props.color != "") {
if (props.color == "primary") {
return getColor("primary-500");