Commit 2006acc6 authored by 智勇's avatar 智勇

过滤开发环境

parent 08cf6dd2
...@@ -48,7 +48,7 @@ export function formatStatus(tsatus) { ...@@ -48,7 +48,7 @@ export function formatStatus(tsatus) {
case 'Pending': case 'Pending':
return 'Pod等待中' return 'Pod等待中'
case 'Waiting' : case 'Waiting' :
return '服务等待' return '服务启动'
case 'PodScheduling': case 'PodScheduling':
return 'Pod调度中' return 'Pod调度中'
case 'ContainerCreating': case 'ContainerCreating':
......
...@@ -762,6 +762,8 @@ export default { ...@@ -762,6 +762,8 @@ export default {
}).catch((res) => { }).catch((res) => {
this.getServicelist() this.getServicelist()
}) })
}).catch(() => {
}) })
}, },
......
...@@ -90,7 +90,11 @@ export default { ...@@ -90,7 +90,11 @@ export default {
}, },
fetchK8sList() { fetchK8sList() {
fetchKubernetesList().then(res => { fetchKubernetesList().then(res => {
this.tableData = res.data.namespaces this.tableData = res.data.namespaces.filter((item) => {
if (item.description === 'dev') {
return item
}
})
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment