mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-05-14 12:18:04 +00:00
fix: show Version
text when xray version is unknown
This commit is contained in:
parent
a4e85066b0
commit
89ed9be9b2
1 changed files with 6 additions and 2 deletions
|
@ -126,7 +126,9 @@
|
||||||
<template #title>
|
<template #title>
|
||||||
<a-space direction="horizontal">
|
<a-space direction="horizontal">
|
||||||
<span>{{ i18n "pages.index.xrayStatus" }}</span>
|
<span>{{ i18n "pages.index.xrayStatus" }}</span>
|
||||||
<a-tag v-if="isMobile" color="green">v[[ status.xray.version ]]</a-tag>
|
<a-tag v-if="isMobile && status.xray.version != 'Unknown'" color="green">
|
||||||
|
v[[ status.xray.version ]]
|
||||||
|
</a-tag>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #extra>
|
<template #extra>
|
||||||
|
@ -156,7 +158,9 @@
|
||||||
</a-space>
|
</a-space>
|
||||||
<a-space direction="horizontal" @click="openSelectV2rayVersion" style="justify-content: center;">
|
<a-space direction="horizontal" @click="openSelectV2rayVersion" style="justify-content: center;">
|
||||||
<a-icon type="tool"></a-icon>
|
<a-icon type="tool"></a-icon>
|
||||||
<span v-if="!isMobile">v[[ status.xray.version ]]</span>
|
<span v-if="!isMobile">
|
||||||
|
[[ status.xray.version != 'Unknown' ? `v${status.xray.version}` : '{{ i18n "pages.index.xraySwitch" }}' ]]
|
||||||
|
</span>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|
Loading…
Reference in a new issue