mirror of
https://github.com/1Panel-dev/1Panel
synced 2024-11-21 23:29:44 +00:00
解决部分操作系统上 platformVersion 为空导致的显示问题 (#4259)
* fix: 解决部分操作系统上 platformVersion 为空导致的显示问题 例如archlinux,显示的是:arch- * fix: 修改表达式 (#4259)
This commit is contained in:
parent
3cd0c89c4c
commit
9160726127
@ -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…
Reference in New Issue
Block a user