When we open a certain piece of data in the sharepoint list, if that piece of data has an attachment, the current page will always be replaced when the attachment is opened. How to open a new page when clicking on an attachment can be handled with a script.
<script></p> <p> $(document).ready(function () {</p> <p> if ($("#idAttachmentsTable") != null) {</p> <p> $('#idAttachmentsTabletbody tr td').each(function ()</p> 🎜> <p> href.removeAttr("onclick");</p> <p> href. 🎜> </p> }<p> </p> });<p> </p> </script>