-
+
新增
@@ -9,7 +9,7 @@
{{ val }}
- {{ val | tceClusterText }}
+ {{ val | ctstackClusterText }}
{{ val ? val : 'ubuntu16.04.1 LTSx86_64' }}
@@ -26,29 +26,23 @@
-
-
-
diff --git a/webs/cmp-web/src/views/resource/ctstack/page/container/detail.vue b/webs/cmp-web/src/views/resource/ctstack/page/container/detail.vue
index fc218f2..94b177a 100644
--- a/webs/cmp-web/src/views/resource/ctstack/page/container/detail.vue
+++ b/webs/cmp-web/src/views/resource/ctstack/page/container/detail.vue
@@ -64,8 +64,8 @@
diff --git a/webs/cmp-web/src/views/resource/ctstack/services/tke.js b/webs/cmp-web/src/views/resource/ctstack/services/tke.js
index 206c9c1..ae9b946 100644
--- a/webs/cmp-web/src/views/resource/ctstack/services/tke.js
+++ b/webs/cmp-web/src/views/resource/ctstack/services/tke.js
@@ -139,12 +139,8 @@ export function modifyInstance({ id, newName }) {
}
// 集群 删除
-export function deleteCluster(params, mode) {
- const formData = new FormData()
- formData.append('mode', mode)
- return request.delete(`${clusterListUrl}/${params.id}`, {
- data: formData
- })
+export function deleteCluster(params) {
+ return request.delete(`${clusterListUrl}/${params.id}`)
}
// 容器服务 日志列表