From 3aca8cdffd118d8d0f1cb450ff4e820a60d35713 Mon Sep 17 00:00:00 2001 From: "Jiangjie.Bai" Date: Fri, 18 Mar 2022 16:29:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E4=BC=9A=E8=AF=9D=E5=8D=A1=E7=89=87=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E7=9A=84=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tickets/components/Session.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/tickets/components/Session.vue b/src/views/tickets/components/Session.vue index 3326ffc9a..52e528344 100644 --- a/src/views/tickets/components/Session.vue +++ b/src/views/tickets/components/Session.vue @@ -37,7 +37,7 @@ {{ $t('sessions.terminate') }} @@ -45,7 +45,7 @@ {{ $t('sessions.Monitor') }} @@ -117,9 +117,6 @@ export default { onMonitor() { const joinUrl = `/luna/monitor/${this.session.id}` window.open(joinUrl, 'height=600, width=800, top=400, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no') - }, - asDisabled(type) { - return (type || true) || !this.$hasPerm('tickets.view_ticket') } }