| | |
| | | alt="" |
| | | @click="openSettingDeviceDialog" |
| | | /> |
| | | <img v-if="userInfo?.code" :src="userInfo?.userAvatar" class="btn-img" alt="" @click="openLoginDialog" /> |
| | | <img v-if="userInfo?.code" :src="userInfo?.userAvatar" class="btn-img user-avatar" alt="" @click="openLoginDialog" /> |
| | | <img v-else :src="userImg" class="btn-img" alt="" @click="openLoginDialog" /> |
| | | </div> |
| | | </div> |
| | |
| | | !bedsideAuxiliaryScreenStore.deviceData.deviceCode |
| | | ) |
| | | return ElMessage.warning("未初始化或正在进行初始化操作中"); |
| | | console.log(loginDialogRef) |
| | | loginDialogRef.value.openDialog(); |
| | | }; |
| | | |
| | |
| | | height: 10px; |
| | | object-fit: contain; |
| | | cursor: pointer; |
| | | &.user-avatar { |
| | | width: 10px; |
| | | border-radius: 50%; |
| | | overflow: hidden; |
| | | } |
| | | &:not(:first-child) { |
| | | margin-left: 9px; |
| | | } |