zhangzengfei
2020-10-14 af29bb152bfbcc1699bbb3ea2f96be8872add867
修改内存显示单位
1个文件已修改
4 ■■■■ 已修改文件
src/pages/settings/components/BasicSetting.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/settings/components/BasicSetting.vue
@@ -310,7 +310,7 @@
            </el-menu-item-group>
          </el-submenu>
        </el-menu>
      </el-tab-pane> -->
      </el-tab-pane>-->
      <el-tab-pane label="权限管理" name="user">
        <authority-management v-if="activeName === 'user'"></authority-management>
      </el-tab-pane>
@@ -505,7 +505,7 @@
            this.sysinfo.cpuInfo = devInfo.cpu[0].modelName;
            this.sysinfo.disks = devInfo.disk;
            this.sysinfo.mem = (devInfo.mem.total / 1024 / 1024 / 1024).toFixed(2) + "KB";
            this.sysinfo.mem = (devInfo.mem.total / 1024 / 1024 / 1024).toFixed(2) + "GB";
            // this.sysinfo.arch = devInfo.host.kernelArch;
            this.sysinfo.uptime = this.secondsFormat(devInfo.host.uptime);
          }