From 123e6b90a32f78308ebc9f8d3abda31139cbb848 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 19 Dec 2025 13:42:11 +0800 Subject: [PATCH] feat: update MySQL parameter input validation rules (#11396) --- frontend/src/views/app-store/detail/params/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/app-store/detail/params/index.vue b/frontend/src/views/app-store/detail/params/index.vue index 8e522fe7f..74a1f3459 100644 --- a/frontend/src/views/app-store/detail/params/index.vue +++ b/frontend/src/views/app-store/detail/params/index.vue @@ -199,7 +199,7 @@ const updateParam = () => { }; const isMysql = (form: Object, envKey: string) => { - return envKey === 'PANEL_DB_TYPE' && (form[envKey] == 'mysql' || form[envKey] == 'mariadb'); + return form['PANEL_DB_HOST'] != undefined && (form[envKey] == 'mysql' || form[envKey] == 'mariadb'); }; const handleParams = () => {