mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-29 18:38:32 +08:00
fix 日志搜索控制台无法正常使用
This commit is contained in:
parent
6e2addc776
commit
099bf7b0f3
@ -1,5 +1,14 @@
|
||||
# 🚀 版本日志
|
||||
|
||||
### 2.10.40.1-beta (2023-04-04)
|
||||
|
||||
### 🐞 解决BUG、优化功能
|
||||
|
||||
1. 【server】修复 日志搜索控制台无法正常使用(感谢@左手生活,右手浪漫)
|
||||
|
||||
------
|
||||
|
||||
|
||||
### 2.10.39.4-beta (2023-04-03)
|
||||
|
||||
### 🐞 解决BUG、优化功能
|
||||
|
@ -157,7 +157,7 @@ export default {
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(["getLongTermToken"]),
|
||||
...mapGetters(["getLongTermToken", "getWorkspaceId"]),
|
||||
selectPath() {
|
||||
if (!Object.keys(this.tempNode).length) {
|
||||
return "";
|
||||
@ -198,7 +198,7 @@ export default {
|
||||
const itemProjectData = this.nodeProjectList[item.nodeId].projects.filter((projectData) => {
|
||||
return item.projectId === projectData.projectId;
|
||||
})[0];
|
||||
const socketUrl = getWebSocketUrl("/socket/console", `userId=${this.getLongTermToken}&id=${itemProjectData.id}&nodeId=${item.nodeId}&type=console©Id=`);
|
||||
const socketUrl = getWebSocketUrl("/socket/console", `userId=${this.getLongTermToken}&id=${itemProjectData.id}&nodeId=${item.nodeId}&type=console©Id=&workspaceId=${this.getWorkspaceId}`);
|
||||
const domId = `pre-dom-${item.nodeId},${item.projectId}`;
|
||||
this.socketCache = { ...this.socketCache, [domId]: {} };
|
||||
const socket = this.initWebSocket(domId, socketUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user