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

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

例如archlinux,显示的是:arch-

* fix: 修改表达式 (#4259)
pull/4268/head
Shang Yuanchun 8 months ago committed by GitHub
parent 3cd0c89c4c
commit 9160726127
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save