From 26bd491f38294bda6729936099d6ebca67e4e57a Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期六, 11 一月 2025 10:48:35 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSClient/src/views/Index.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue" index 1bb1051..db301d8 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue" @@ -214,7 +214,7 @@ watch, onMounted, getCurrentInstance, - h + h, } from "vue"; import { useRouter, useRoute } from "vue-router"; import store from "../store/index"; @@ -319,6 +319,7 @@ ElNotification({ title: data.title, message: h("i", { style: "color: teal" }, data.message), + position: "bottom-right", }); }; @@ -338,9 +339,7 @@ setTimeout(createSocket, 10000); }; - client.onerror = function () { - - }; + client.onerror = function () {}; }; const changeTheme = (name) => { @@ -599,13 +598,14 @@ let _userInfo = store.getters.getUserInfo(); if (_userInfo) { - userName.value = _userInfo.userName; + console.log(_userInfo); + userName.value = _userInfo.trueNmae; if (_userInfo.img) { userImg.value = _config.base.getImgSrc(_userInfo.img, http.ipAddress); } } - createSocket("ws://127.0.0.1:9295/" + _userInfo.userName); + createSocket("ws://127.0.0.1:9296/" + _userInfo.userName); Object.assign(_config.$tabs, { open: open, close: close }); -- Gitblit v1.9.3