Skip to content

Commit 123e6b9

Browse files
feat: update MySQL parameter input validation rules (#11396)
1 parent 00b4a6c commit 123e6b9

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/views/app-store/detail/params

1 file changed

+1
-1
lines changed

frontend/src/views/app-store/detail/params/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const updateParam = () => {
199199
};
200200
201201
const isMysql = (form: Object, envKey: string) => {
202-
return envKey === 'PANEL_DB_TYPE' && (form[envKey] == 'mysql' || form[envKey] == 'mariadb');
202+
return form['PANEL_DB_HOST'] != undefined && (form[envKey] == 'mysql' || form[envKey] == 'mariadb');
203203
};
204204
205205
const handleParams = () => {

0 commit comments

Comments
 (0)