mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2026-05-23 23:57:49 +00:00
转移群主后头像颜色变化
This commit is contained in:
@@ -37,8 +37,13 @@ const firstChar = computed(() => {
|
||||
return props.showName ? props.showName.charAt(0) : '*'
|
||||
})
|
||||
|
||||
const randomColor = getRandomColor(props.showName || props.showId)
|
||||
const fontColor = getFontColor(randomColor)
|
||||
const randomColor = computed(() => {
|
||||
return getRandomColor(props.showName || props.showId)
|
||||
})
|
||||
|
||||
const fontColor = computed(() => {
|
||||
return getFontColor(randomColor.value)
|
||||
})
|
||||
|
||||
const statusCircleColor = computed(() => {
|
||||
switch (props.userStatus) {
|
||||
|
||||
Reference in New Issue
Block a user