style: 修改 openresty 的端口提示 (#4532)

This commit is contained in:
zhengkunwang 2024-04-16 15:58:51 +08:00 committed by GitHub
parent 2ec4b2561c
commit 4814a76c47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,19 @@
</div>
<div class="ml-5" v-if="key === 'openresty' && (httpPort != 80 || httpsPort != 443)">
<el-text type="danger">{{ $t('website.openrestyHelper', [httpPort, httpsPort]) }}</el-text>
<el-tooltip
effect="dark"
:content="$t('website.openrestyHelper', [httpPort, httpsPort])"
placement="top-start"
>
<el-alert
:title="$t('app.checkTitle')"
:closable="false"
type="warning"
show-icon
class="h-8"
/>
</el-tooltip>
</div>
</div>
</el-card>