错误修复

This commit is contained in:
yy 2024-05-30 09:58:03 +08:00
parent 63ccb81c9b
commit 043e2b9670

View File

@ -78,7 +78,7 @@
<div class="message-box"> <div class="message-box">
<ul ref="msgLog" class="message-log"> <ul ref="msgLog" class="message-log">
<li v-for="(item, index) in mssageList" :key="'msg-log-' + index" <li v-for="(item, index) in mssageList" :key="'msg-log-' + index"
:class="{ 'align-right': item.createName == userName }"> :class="{ 'align-right': item.createUser == userInfo.account }">
<span>{{ item.content }}</span> <span>{{ item.content }}</span>
</li> </li>
</ul> </ul>
@ -219,7 +219,7 @@ const medicineCustom: any[] = [
] ]
const remoteWsStore = useRemoteWsStore() const remoteWsStore = useRemoteWsStore()
const currentRemote = ref() const currentRemote = ref()
const userInfo = useUserStore() const userInfoStore = useUserStore()
const chartDom1 = ref(), const chartDom1 = ref(),
chartDom2 = ref(), chartDom2 = ref(),
@ -234,7 +234,7 @@ const isPatientDialog = ref(false)
const database = ref('') const database = ref('')
const databaseOptions = ref([] as { value: string, label: string }[]) const databaseOptions = ref([] as { value: string, label: string }[])
const messageSum = ref(10) const messageSum = ref(10)
const userName = ref(userInfo.userInfo.name) const userInfo = ref(userInfoStore.getlogin())
const setDatabaseDialog = ref(false); const setDatabaseDialog = ref(false);
const featureTable = ref([] as any[]); const featureTable = ref([] as any[]);
let chartNowData = reactive({ID: 0}); let chartNowData = reactive({ID: 0});