feat: Optimize local application installation name settings. (#10430)

Refs https://github.com/1Panel-dev/1Panel/issues/10406
This commit is contained in:
CityFun 2025-09-22 15:58:04 +08:00 committed by GitHub
parent 7df43aeb59
commit 49a777e2d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,7 @@ const getVersionDetail = async (version: string) => {
};
const initForm = async (appKey: string) => {
formData.value.name = appKey;
formData.value.name = appKey.replace(/^local/, '');
const res = await getAppByKey(appKey);
currentApp.value = res.data;
appVersions.value = currentApp.value.versions;