mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 04:08:44 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/master'
This commit is contained in:
		@@ -129,7 +129,7 @@ const copyConfig = async () => {
 | 
			
		||||
      // 标签页
 | 
			
		||||
      tagsViewImmerse: ${appStore.getTagsViewImmerse},
 | 
			
		||||
      // 标签页图标
 | 
			
		||||
      getTagsViewIcon: ${appStore.getTagsViewIcon},
 | 
			
		||||
      tagsViewIcon: ${appStore.getTagsViewIcon},
 | 
			
		||||
      // logo
 | 
			
		||||
      logo: ${appStore.getLogo},
 | 
			
		||||
      // 菜单手风琴
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@ const { getPrefixCls } = useDesign()
 | 
			
		||||
 | 
			
		||||
const prefixCls = getPrefixCls('user-info')
 | 
			
		||||
 | 
			
		||||
const avatar = computed(() => userStore.user.avatar ?? avatarImg)
 | 
			
		||||
const avatar = computed(() => userStore.user.avatar || avatarImg)
 | 
			
		||||
const userName = computed(() => userStore.user.nickname ?? 'Admin')
 | 
			
		||||
 | 
			
		||||
// 锁定屏幕
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@ const props = defineProps({
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
const userStore = useUserStore()
 | 
			
		||||
const avatar = computed(() => userStore.user.avatar ?? avatarImg)
 | 
			
		||||
const avatar = computed(() => userStore.user.avatar || avatarImg)
 | 
			
		||||
const userName = computed(() => userStore.user.nickname ?? 'Admin')
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits(['update:modelValue'])
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,7 @@ const showDate = ref(true)
 | 
			
		||||
const { getPrefixCls } = useDesign()
 | 
			
		||||
const prefixCls = getPrefixCls('lock-page')
 | 
			
		||||
 | 
			
		||||
const avatar = computed(() => userStore.user.avatar ?? avatarImg)
 | 
			
		||||
const avatar = computed(() => userStore.user.avatar || avatarImg)
 | 
			
		||||
const userName = computed(() => userStore.user.nickname ?? 'Admin')
 | 
			
		||||
 | 
			
		||||
const lockStore = useLockStore()
 | 
			
		||||
 
 | 
			
		||||
@@ -78,7 +78,7 @@ const userStore = useUserStore()
 | 
			
		||||
const messageContainer: any = ref(null)
 | 
			
		||||
const isScrolling = ref(false) //用于判断用户是否在滚动
 | 
			
		||||
 | 
			
		||||
const userAvatar = computed(() => userStore.user.avatar ?? userAvatarDefaultImg)
 | 
			
		||||
const userAvatar = computed(() => userStore.user.avatar || userAvatarDefaultImg)
 | 
			
		||||
const roleAvatar = computed(() => props.conversation.roleAvatar ?? roleAvatarDefaultImg)
 | 
			
		||||
 | 
			
		||||
// 定义 props
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user