Skip to content

Commit a0456d0

Browse files
authored
fix: 进程守护区分项目名称和进程名称 (#1952)
1 parent 35b8532 commit a0456d0

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/views/host/tool/supervisor

1 file changed

+1
-1
lines changed

frontend/src/views/host/tool/supervisor/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ const loadStatus = async () => {
229229
for (const process of data.value) {
230230
process.status = [];
231231
for (const item of stats) {
232-
if (process.name === item.name) {
232+
if (process.name === item.name.split(':')[0]) {
233233
process.status.push(item);
234234
}
235235
}

0 commit comments

Comments
 (0)