mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-27 00:00:59 +00:00
Fix Display Issues in the Editing Runtime Environment (#10660)
This commit is contained in:
@@ -379,8 +379,8 @@ const getApp = (appkey: string, mode: string) => {
|
||||
getAppByKey(appkey).then((res) => {
|
||||
appVersions.value = res.data.versions || [];
|
||||
if (res.data.versions.length > 0) {
|
||||
runtime.version = res.data.versions[0];
|
||||
if (mode === 'create') {
|
||||
runtime.version = res.data.versions[0];
|
||||
changeVersion();
|
||||
} else {
|
||||
initParam.value = true;
|
||||
@@ -432,6 +432,7 @@ const getRuntime = async (id: number) => {
|
||||
rebuild: true,
|
||||
source: data.source,
|
||||
remark: data.remark,
|
||||
versionn: data.version,
|
||||
});
|
||||
|
||||
const fileds = data.appParams;
|
||||
|
||||
Reference in New Issue
Block a user