|
@@ -1,6 +1,6 @@
|
|
|
<script lang="ts" setup>
|
|
|
// 颜色 插槽
|
|
|
-import color from '@/utils/color'
|
|
|
+import colorUtil from '@/utils/color'
|
|
|
|
|
|
const props: any = withDefaults(
|
|
|
defineProps<{
|
|
@@ -15,7 +15,7 @@ const props: any = withDefaults(
|
|
|
)
|
|
|
|
|
|
const bgColor = computed(() => {
|
|
|
- return props.color ? color.lighten(props.color, 0.6) : `var(--el-color-${props.type}-light-9)`
|
|
|
+ return props.color ? colorUtil.lighten(props.color, 0.6) : `var(--el-color-${props.type}-light-9)`
|
|
|
})
|
|
|
|
|
|
const titleColor = computed(() => {
|