From 248e95d671326ac44610b93a9980bd84d85d4ccf Mon Sep 17 00:00:00 2001
From: jingyang <72259332+zjy365@users.noreply.github.com>
Date: Tue, 5 Nov 2024 18:42:16 +0800
Subject: [PATCH] Fix: hide language switch button in template (#5190)
---
.../applaunchpad/src/constants/editApp.ts | 4 ++--
.../src/components/layout/appmenu.tsx | 20 -------------------
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/frontend/providers/applaunchpad/src/constants/editApp.ts b/frontend/providers/applaunchpad/src/constants/editApp.ts
index 979485e4397..10976549d7f 100644
--- a/frontend/providers/applaunchpad/src/constants/editApp.ts
+++ b/frontend/providers/applaunchpad/src/constants/editApp.ts
@@ -28,8 +28,8 @@ export const defaultEditVal: AppEditType = {
runCMD: '',
cmdParam: '',
replicas: 1,
- cpu: 100,
- memory: 128,
+ cpu: 1000,
+ memory: 1024,
networks: [
{
networkName: '',
diff --git a/frontend/providers/template/src/components/layout/appmenu.tsx b/frontend/providers/template/src/components/layout/appmenu.tsx
index e72c4428c52..15f08ff8690 100644
--- a/frontend/providers/template/src/components/layout/appmenu.tsx
+++ b/frontend/providers/template/src/components/layout/appmenu.tsx
@@ -93,26 +93,6 @@ export default function AppMenu() {