mirror of https://github.com/1Panel-dev/1Panel
fix: 解决概览页磁盘挂载点路径带空格无法正常显示的问题 (#5678)
parent
9a38dcd2a7
commit
9e103baf94
|
@ -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…
Reference in New Issue