新增配置项office.preview.switch.disabled,控制offic文件预览切换开关

This commit is contained in:
kl
2020-12-25 18:19:30 +08:00
committed by kl
parent 4a3886e41a
commit d787813bc6
9 changed files with 27 additions and 4 deletions

View File

@ -34,7 +34,9 @@
</div>
</#list>
</div>
<img src="images/pdf.svg" width="63" height="63" style="position: fixed; cursor: pointer; top: 40%; right: 48px; z-index: 999;" alt="使用PDF预览" title="使用PDF预览" onclick="changePreviewType('pdf')"/>
<#if "false" == switchDisabled>
<img src="images/pdf.svg" width="63" height="63" style="position: fixed; cursor: pointer; top: 40%; right: 48px; z-index: 999;" alt="使用PDF预览" title="使用PDF预览" onclick="changePreviewType('pdf')"/>
</#if>
<script src="js/watermark.js" type="text/javascript"></script>
<script>
window.onload = function () {