fix: 解决概览页磁盘挂载点路径带空格无法正常显示的问题 (#5678)

pull/5680/head
ssongliu 5 months ago committed by GitHub
parent 9a38dcd2a7
commit 9e103baf94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -253,7 +253,7 @@ func loadDiskInfo() []dto.DiskInfo {
if isExclude {
continue
}
mounts = append(mounts, diskInfo{Type: fields[1], Device: fields[0], Mount: fields[6]})
mounts = append(mounts, diskInfo{Type: fields[1], Device: fields[0], Mount: strings.Join(fields[6:], " ")})
}
var (

Loading…
Cancel
Save