Browse Source

解决部分操作系统上 platformVersion 为空导致的显示问题 (#4259)

* fix: 解决部分操作系统上 platformVersion 为空导致的显示问题

例如archlinux,显示的是:arch-

* fix: 修改表达式 (#4259)
pull/4268/head
Shang Yuanchun 8 months ago committed by GitHub
parent
commit
9160726127
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      frontend/src/views/home/index.vue

2
frontend/src/views/home/index.vue

@ -172,7 +172,7 @@
{{ $t('home.platformVersion') }}
</span>
</template>
{{ baseInfo.platform }}-{{ baseInfo.platformVersion }}
{{ baseInfo.platformVersion === "" ? baseInfo.platform : (baseInfo.platform + "-" + baseInfo.platformVersion) }}
</el-descriptions-item>
<el-descriptions-item class-name="system-content">
<template #label>

Loading…
Cancel
Save