feat: change default runtime php image name (#8876)

This commit is contained in:
CityFun 2025-05-30 11:18:27 +08:00 committed by GitHub
parent 93d45bf36f
commit 8c8a4d2881
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -345,7 +345,7 @@ const changeApp = (appId: number) => {
};
const changePHPVersion = (version: string) => {
runtime.image = 'php:' + version;
runtime.image = '1panel-php-fpm:' + version;
};
const changeVersion = () => {
@ -363,7 +363,7 @@ const changeVersion = () => {
formFields.value[fileds[index]['envKey']] = fileds[index];
runtime.params[fileds[index]['envKey']] = fileds[index]['default'];
if (fileds[index]['envKey'] == 'PHP_VERSION') {
runtime.image = 'php:' + fileds[index]['default'];
runtime.image = '1panel-php-fpm:' + fileds[index]['default'];
}
}
initParam.value = true;