From a4be6f26afb5a89790ee884eaad646adc94460c6 Mon Sep 17 00:00:00 2001 From: handsomewu <562390063@qq.com> Date: Wed, 13 Nov 2024 23:52:38 +0800 Subject: [PATCH 1/2] update service and pod page --- src/views/deploy/app.vue | 89 ++++++++++++++++++++++++++++++++++++ src/views/deploy/service.vue | 87 +++++++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+) diff --git a/src/views/deploy/app.vue b/src/views/deploy/app.vue index e69de29b..e086cd00 100644 --- a/src/views/deploy/app.vue +++ b/src/views/deploy/app.vue @@ -0,0 +1,89 @@ + + + + + diff --git a/src/views/deploy/service.vue b/src/views/deploy/service.vue index e69de29b..34b03095 100644 --- a/src/views/deploy/service.vue +++ b/src/views/deploy/service.vue @@ -0,0 +1,87 @@ + + + + + From 0775a815107ffee638bb746d7f60daa7c05674ab Mon Sep 17 00:00:00 2001 From: handsomewu <562390063@qq.com> Date: Thu, 14 Nov 2024 00:23:58 +0800 Subject: [PATCH 2/2] add yaml editor in pod and service deploy page --- package.json | 1 + src/views/deploy/app.vue | 37 +++++++++++++++++++++++- src/views/deploy/service.vue | 55 +++++++++++++++++++++++++++++++++++- 3 files changed, 91 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 57912ffe..aaa3fd66 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "file-saver": "2.0.1", "fuse.js": "3.4.4", "js-cookie": "2.2.0", + "js-yaml": "^4.1.0", "jsonlint": "1.6.3", "jszip": "3.2.1", "normalize.css": "7.0.0", diff --git a/src/views/deploy/app.vue b/src/views/deploy/app.vue index e086cd00..8ead89db 100644 --- a/src/views/deploy/app.vue +++ b/src/views/deploy/app.vue @@ -1,5 +1,6 @@