From e3ce0d1c025af56aec95e1837e9acfe1e64da28f Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 9 Nov 2021 17:01:43 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1210=20fix=EF=BC=9A=20=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8A=E6=96=B9=20terminal=E6=8C=89?= =?UTF-8?q?=E9=92=AE=EF=BC=8C=E9=80=89=E6=8B=A9=20asset=20=E6=8C=89?= =?UTF-8?q?=E9=92=AE=EF=BC=8C=E6=98=BE=E7=A4=BA=20asset=20=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/cli/webSSH.vue | 67 ++++++++++++++++++++- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index a39d17d6b..ca024b93b 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -197,14 +197,28 @@ - +
Connect
+ + + {{selectValue}} + + + + {{item.label}} + + { + this.$get('asset/asset', { pageSize: -1, typeIds: '1,2' }).then(res => { this.assetLoading = false this.assetData = res.data.list }) @@ -1034,6 +1085,18 @@ export default { .custom-footer{ box-shadow: none; } + .header-el-dropdown { + width: 64px; + margin-right: 0; + background: #f5f7fa;; + padding: 0 10px 0 10px; + border-radius: 4px 0 0 4px; + border: 1px solid #dcdfe6; + border-right: none ; + } + /deep/ div.v-selectpage div.sp-input-container div.sp-base { + border-radius: 0 4px 4px 0; + }