From 53c8c2d9eae5b18237818cd8c7e967975c06c7a8 Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 28 Jul 2023 17:45:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20rdp=20file=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=A4=9A=E5=B1=8F=E6=98=BE=E7=A4=BA=20(multi?= =?UTF-8?q?mon)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/api/connection_token.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/authentication/api/connection_token.py b/apps/authentication/api/connection_token.py index 566d080b5..6a72a3d7a 100644 --- a/apps/authentication/api/connection_token.py +++ b/apps/authentication/api/connection_token.py @@ -65,6 +65,11 @@ class RDPFileClientProtocolURLMixin: 'smart sizing:i': '1', } + # 设置多屏显示 + multi_mon = is_true(self.request.query_params.get('multi_mon')) + if multi_mon: + rdp_options['use multimon:i'] = '1' + # 设置磁盘挂载 drives_redirect = is_true(self.request.query_params.get('drives_redirect')) if drives_redirect: