|
@@ -67,9 +67,8 @@ onMounted(() => {
|
|
|
})
|
|
|
|
|
|
const onWindowMessage = () => {
|
|
|
+ console.log('onWindowMessage', res);
|
|
|
window.onmessage = (res) => {
|
|
|
- console.log(res, 'dd index')
|
|
|
-
|
|
|
if(res && res.data && res.data.actionType) {
|
|
|
let msgData = res.data.data;
|
|
|
if(msgData.iframeGUId == state.iframeId) {
|
|
@@ -77,7 +76,6 @@ const onWindowMessage = () => {
|
|
|
case "CONTENT_GET_TWEET_TXT":
|
|
|
if (msgData.tweet_Id == state.tweetId && !state.detail.postSrcContent) {
|
|
|
state.detail.postSrcContent = msgData.txt
|
|
|
- console.log(msgData, 'dd index1')
|
|
|
reSetBindPostContent({
|
|
|
postId: state.postId || '',
|
|
|
postSrcContent: msgData.txt,
|
|
@@ -92,7 +90,6 @@ const onWindowMessage = () => {
|
|
|
twitterFans = legacy ? legacy.followers_count : 0;
|
|
|
}
|
|
|
if (msgData.objectType == Report.objectType.tweetPostBinded) {
|
|
|
- console.log(msgData, 'dd index2')
|
|
|
Report.reportLog({
|
|
|
objectType: Report.objectType.tweetPostBinded,
|
|
|
twitterFans: twitterFans,
|