fix: fix issue with local app can not open port (#9145)

This commit is contained in:
CityFun 2025-06-17 16:36:53 +08:00 committed by GitHub
parent 2c290dbbf7
commit 0c31fcc8a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,17 +237,20 @@
plain
size="small"
>
{{ $t('app.busPort') }}{{ $t('commons.colon')
{{ $t('commons.table.port') }}{{ $t('commons.colon')
}}{{ installed.httpPort }}
</el-button>
<el-button v-if="installed.httpsPort > 0" plain size="small">
{{ $t('app.busPort') }}{{ installed.httpsPort }}
{{ $t('commons.table.port') }}{{ installed.httpsPort }}
</el-button>
<el-popover
placement="top-start"
trigger="hover"
v-if="installed.appType == 'website'"
v-if="
installed.appType == 'website' ||
installed.appKey?.startsWith('local')
"
:width="400"
>
<template #reference>