fix: 解决删除 PHP 运行环境之后,删除其他网站提示错误的问题 (#6192)

This commit is contained in:
zhengkunwang 2024-08-21 10:50:50 +08:00 committed by GitHub
parent e770254b65
commit 596d4aceb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,6 +87,7 @@ const acceptParams = async (website: Website.WebsiteDTO) => {
deleteBackup: false,
forceDelete: false,
};
runtimeApp.value = false;
if (website.type === 'runtime' && website.appInstallId > 0 && website.runtimeType == 'php') {
runtimeApp.value = true;
deleteReq.value.deleteApp = true;