mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-17 03:04:46 +08:00
feat: 取消 openresty 安装时的端口开放提示 (#1627)
This commit is contained in:
parent
ff3b41686c
commit
dfcef390d0
@ -224,7 +224,7 @@ const submit = async (formEl: FormInstance | undefined) => {
|
|||||||
if (req.memoryLimit < 0) {
|
if (req.memoryLimit < 0) {
|
||||||
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'), {
|
ElMessageBox.confirm(i18n.global.t('app.installWarn'), i18n.global.t('app.checkTitle'), {
|
||||||
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
||||||
cancelButtonText: i18n.global.t('commons.button.cancel'),
|
cancelButtonText: i18n.global.t('commons.button.cancel'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user