diff --git a/src/components/Avatar.vue b/src/components/Avatar.vue index c6d5a49..0c888e7 100644 --- a/src/components/Avatar.vue +++ b/src/components/Avatar.vue @@ -21,15 +21,10 @@ defineProps({ default: 45, }, borderColor: { - type: Number, - default: 0, + type: String, + default: "", }, }); -const borderColors = { - 0: "#fff", - 1: "#64BAFF", - 2: "#FF6767", -};