1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

feat: 取消 openresty 安装时的端口开放提示 (#1627)

This commit is contained in:
zhengkunwang 2023-07-12 21:13:16 +08:00 committed by GitHub
parent ff3b41686c
commit dfcef390d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ const submit = async (formEl: FormInstance | undefined) => {
if (req.memoryLimit < 0) {
req.memoryLimit = 0;
}
if (req.advanced && !req.allowPort) {
if (installData.value.app.key != 'openresty' && req.advanced && !req.allowPort) {
ElMessageBox.confirm(i18n.global.t('app.installWarn'), i18n.global.t('app.checkTitle'), {
confirmButtonText: i18n.global.t('commons.button.confirm'),
cancelButtonText: i18n.global.t('commons.button.cancel'),