diff --git a/assets/pages/crd/cluster_cr.json b/assets/pages/crd/cluster_cr.json index c481b1c..a4e8a1f 100644 --- a/assets/pages/crd/cluster_cr.json +++ b/assets/pages/crd/cluster_cr.json @@ -5,21 +5,6 @@ "type": "container", "className": "floating-toolbar", "body": [ - { - "type": "button", - "label": "回退", - "level": "link", - "className": "mr-2", - "onEvent": { - "click": { - "actions": [ - { - "actionType": "goBack" - } - ] - } - } - }, { "type": "tpl", "tpl": "${kind}", diff --git a/assets/pages/crd/crd.json b/assets/pages/crd/crd.json index 043b0c0..3054a26 100644 --- a/assets/pages/crd/crd.json +++ b/assets/pages/crd/crd.json @@ -413,9 +413,10 @@ { "type": "button", "icon": "fas fa-list text-success", - "actionType": "link", + "level": "link", + "actionType": "url", "label": "查看实例", - "link": "/crd/${spec.scope=='Namespaced'?'namespaced_cr':'cluster_cr'}?kind=${spec.names.kind}&group=${spec.group}&version=${spec.versions[0].name}" + "link": "/index.html#/crd/${spec.scope=='Namespaced'?'namespaced_cr':'cluster_cr'}?kind=${spec.names.kind}&group=${spec.group}&version=${spec.versions[0].name}" }, { "type": "button", diff --git a/assets/pages/crd/namespaced_cr.json b/assets/pages/crd/namespaced_cr.json index 59a21d8..e287b32 100644 --- a/assets/pages/crd/namespaced_cr.json +++ b/assets/pages/crd/namespaced_cr.json @@ -5,21 +5,6 @@ "type": "container", "className": "floating-toolbar", "body": [ - { - "type": "button", - "label": "回退", - "level": "link", - "className": "mr-2", - "onEvent": { - "click": { - "actions": [ - { - "actionType": "goBack" - } - ] - } - } - }, { "type": "tpl", "tpl": "${kind}",