File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
views/ai/chat/index/components/message Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const copyConfig = async () => {
129
129
// 标签页
130
130
tagsViewImmerse: ${appStore .getTagsViewImmerse },
131
131
// 标签页图标
132
- getTagsViewIcon : ${appStore .getTagsViewIcon },
132
+ tagsViewIcon : ${appStore .getTagsViewIcon },
133
133
// logo
134
134
logo: ${appStore .getLogo },
135
135
// 菜单手风琴
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const { getPrefixCls } = useDesign()
23
23
24
24
const prefixCls = getPrefixCls (' user-info' )
25
25
26
- const avatar = computed (() => userStore .user .avatar ?? avatarImg )
26
+ const avatar = computed (() => userStore .user .avatar || avatarImg )
27
27
const userName = computed (() => userStore .user .nickname ?? ' Admin' )
28
28
29
29
// 锁定屏幕
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const props = defineProps({
21
21
})
22
22
23
23
const userStore = useUserStore ()
24
- const avatar = computed (() => userStore .user .avatar ?? avatarImg )
24
+ const avatar = computed (() => userStore .user .avatar || avatarImg )
25
25
const userName = computed (() => userStore .user .nickname ?? ' Admin' )
26
26
27
27
const emit = defineEmits ([' update:modelValue' ])
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const showDate = ref(true)
22
22
const { getPrefixCls } = useDesign ()
23
23
const prefixCls = getPrefixCls (' lock-page' )
24
24
25
- const avatar = computed (() => userStore .user .avatar ?? avatarImg )
25
+ const avatar = computed (() => userStore .user .avatar || avatarImg )
26
26
const userName = computed (() => userStore .user .nickname ?? ' Admin' )
27
27
28
28
const lockStore = useLockStore ()
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const userStore = useUserStore()
78
78
const messageContainer: any = ref (null )
79
79
const isScrolling = ref (false ) // 用于判断用户是否在滚动
80
80
81
- const userAvatar = computed (() => userStore .user .avatar ?? userAvatarDefaultImg )
81
+ const userAvatar = computed (() => userStore .user .avatar || userAvatarDefaultImg )
82
82
const roleAvatar = computed (() => props .conversation .roleAvatar ?? roleAvatarDefaultImg )
83
83
84
84
// 定义 props
You can’t perform that action at this time.
0 commit comments