Auto Submit

dev_local_v9_test3
autosubmit 1 year ago
parent 4875e99050
commit 2a221355e1

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.df3e3a32.js"></script>
<script src="/react/build/umi.0e80135f.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -199,7 +199,8 @@
var scripts = document.createElement("script");
scripts.type = "text/javascript";
if (parames.officeServer) {
scripts.src = (top.location.origin) + "/web-apps/apps/api/documents/api.js";
scripts.src = top.location.protocol + "//" + top.location.hostname + + ':' + top.location.port +"/web-apps/apps/api/documents/api.js";
// scripts.src = (parames.officeServer) + "/web-apps/apps/api/documents/api.js";
} else {
scripts.src = top.location.protocol + "//" + top.location.hostname + ":9011/web-apps/apps/api/documents/api.js";
}

@ -1083,8 +1083,9 @@ var Journal = function Journal() {
border: i == 0 ? 'none' : ''
},
onClick: function onClick() {
if (article !== null && article !== void 0 && article.preview_url) {
preview(item);
var _article$attachment;
if (article !== null && article !== void 0 && (_article$attachment = article.attachment) !== null && _article$attachment !== void 0 && _article$attachment.url) {
preview(article === null || article === void 0 ? void 0 : article.attachment);
// openNewWindow(article?.preview_url)
// setPreviewData({
// type: article?.type,

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save