zydx-plus 1.33.432 → 1.33.434
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -931,12 +931,10 @@ export default {
|
|
|
931
931
|
line-height: 24px;
|
|
932
932
|
font-weight: 700;
|
|
933
933
|
}
|
|
934
|
-
|
|
935
|
-
:deep(.imgCont) {
|
|
934
|
+
:deep(p:has(>img)) {
|
|
936
935
|
line-height: 0 !important;
|
|
937
936
|
text-indent: 0 !important;
|
|
938
937
|
}
|
|
939
|
-
|
|
940
938
|
:deep(.ProseMirror-separator) {
|
|
941
939
|
display: none !important;
|
|
942
940
|
}
|
|
@@ -365,10 +365,10 @@ export default {
|
|
|
365
365
|
const xhr = new XMLHttpRequest()
|
|
366
366
|
let formData = new FormData();
|
|
367
367
|
formData.append('file', file);
|
|
368
|
-
xhr.open('POST', 'https://192.168.8.81:8081/zydx/latex/get')
|
|
369
|
-
xhr.setRequestHeader('Authorization', '276b6213-5937-49bd-9019-498ddb4dfd4f')
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
// xhr.open('POST', 'https://192.168.8.81:8081/zydx/latex/get')
|
|
369
|
+
// xhr.setRequestHeader('Authorization', '276b6213-5937-49bd-9019-498ddb4dfd4f')
|
|
370
|
+
xhr.open('GET', '/zydx/latex/get')
|
|
371
|
+
xhr.setRequestHeader('Authorization', token)
|
|
372
372
|
this.error = true
|
|
373
373
|
xhr.onreadystatechange = () => {
|
|
374
374
|
if (xhr.readyState === 4) {
|