File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 100100 <router-link :to =" { path: $route.path + '/' + record.name }" v-else >{{ $t(text.toLowerCase()) }}</router-link >
101101 </span >
102102 <span v-else >
103- <router-link :to =" { path: $route.path + '/' + record.id }" v-if =" record.id" >{{ text }}</router-link >
103+ <router-link :to =" { path: $route.path + '/' + record.id }" v-if =" record.id && $route.path !== '/ssh' " >{{ text }}</router-link >
104104 <router-link :to =" { path: $route.path + '/' + record.name }" v-else >{{ text }}</router-link >
105105 </span >
106106 </span >
Original file line number Diff line number Diff line change @@ -840,6 +840,10 @@ export default {
840840 this .loading = true
841841 if (this .$route .params && this .$route .params .id ) {
842842 params .id = this .$route .params .id
843+ if ([' listSSHKeyPairs' ].includes (this .apiName )) {
844+ delete params .id
845+ params .name = this .$route .params .id
846+ }
843847 if (this .$route .path .startsWith (' /vmsnapshot/' )) {
844848 params .vmsnapshotid = this .$route .params .id
845849 } else if (this .$route .path .startsWith (' /ldapsetting/' )) {
You can’t perform that action at this time.
0 commit comments