Merge pull request #11122 from jumpserver/pr@dev@fix_rdpfilemultimon

feat: rdp file 支持设置多屏显示 (multimon)
pull/11128/head
老广 2023-07-31 09:22:40 +08:00 committed by GitHub
commit bf30be2084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,11 @@ class RDPFileClientProtocolURLMixin:
if multi_mon:
rdp_options['use multimon: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: