diff --git a/public/react/src/modules/page/VNCContainer.js b/public/react/src/modules/page/VNCContainer.js index 1812181aa..a9329d099 100644 --- a/public/react/src/modules/page/VNCContainer.js +++ b/public/react/src/modules/page/VNCContainer.js @@ -92,7 +92,7 @@ class VNCContainer extends Component { if (nodePath) { const filetype = nodePath.split('.').pop().toLowerCase(); if (filetype == 'jpg' || filetype == 'png' || filetype == 'gif' || filetype == 'jpeg' - || filetype == 'jar' + || filetype == 'jar' || filetype == 'exe' || filetype == 'doc' || filetype == 'pdf' || filetype == 'xsl' || filetype == 'ppt') { this.props.showSnackbar(`不支持加载${filetype}类型的文件。`) return;