Compare commits
2 Commits
59951fa135
...
602dca6ee6
| Author | SHA1 | Date | |
|---|---|---|---|
| 602dca6ee6 | |||
| e65652fdc2 |
@ -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 || "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -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 || "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -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 || "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -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 || "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user