Browse Source

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

pull/1639/head
zhengkunwang 1 year ago committed by GitHub
parent
commit
dfcef390d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/views/app-store/detail/install/index.vue

2
frontend/src/views/app-store/detail/install/index.vue

@ -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'),

Loading…
Cancel
Save