Compare commits

..

2 Commits

4 changed files with 5 additions and 4 deletions

View File

@ -54,7 +54,7 @@ const getPressReleasesInfo = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
const myRichText = document.getElementById("my-richText"); const myRichText = document.getElementById("my-richText");
myRichText.innerHTML = res?.data?.data?.content || ""; myRichText.innerHTML = res?.data?.data?.data?.content || "";
} }
} }
}); });

View File

@ -55,7 +55,8 @@ const getPressReleasesInfo = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
const myRichText = document.getElementById("my-richText"); const myRichText = document.getElementById("my-richText");
myRichText.innerHTML = res?.data?.data?.content || ""; console.log(res?.data?.data?.data?.content,res);
myRichText.innerHTML = res?.data?.data?.data?.content || "";
} }
} }
}); });

View File

@ -41,7 +41,7 @@ const getPressReleasesInfo = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
const myRichText = document.getElementById('my-richText') const myRichText = document.getElementById('my-richText')
myRichText.innerHTML = res?.data?.data?.content || ""; myRichText.innerHTML = res?.data?.data?.data?.content || "";
} }
} }
}) })

View File

@ -43,7 +43,7 @@ const getPressReleasesInfo = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
const myRichText = document.getElementById('my-richText') const myRichText = document.getElementById('my-richText')
myRichText.innerHTML = res?.data?.data?.content || ""; myRichText.innerHTML = res?.data?.data?.data?.content || "";
} }
} }
}) })