优化按钮、loading的颜色

This commit is contained in:
icssoa
2025-08-08 11:28:28 +08:00
parent 3e59a31732
commit 853a661fe1
2 changed files with 15 additions and 5 deletions

View File

@@ -312,7 +312,13 @@ const emit = defineEmits([
]);
const slots = useSlots();
const { cache } = useCache(() => [props.type, props.text, props.disabled, props.loading]);
const { cache } = useCache(() => [
props.type,
props.text,
props.disabled,
props.loading,
props.color
]);
// 样式穿透类型
type PassThrough = {