From cf7e1f5d69a3b8b890f47940d74ac9a5e32cdc8f Mon Sep 17 00:00:00 2001 From: zxj Date: Fri, 21 Nov 2025 10:56:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:iframe=E9=A1=B5=E9=9D=A2token=E8=BF=87?= =?UTF-8?q?=E6=9C=9F=E8=B7=B3=E8=BD=AC=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modals/addOnlineCourse.vue | 2 +- src/components/drawers/CheckAnsware.vue | 520 ++--- src/components/drawers/CreateOnline.vue | 31 +- src/components/drawers/SelectTest.vue | 163 +- src/components/growthpath/CommonTest.vue | 6 +- src/components/growthpath/GrowthExa.vue | 2 +- .../growthpath/GrowthLineCourse.vue | 2 +- src/views/article/ArticleManage.vue | 2 +- src/views/case/CaseManage.vue | 2 +- src/views/courselibrary/CourseManage.vue | 2 +- src/views/courselibrary/OnlineManage.vue | 25 +- src/views/examination/ExaminationCenter.vue | 2 +- src/views/examination/PaperManage.vue | 2 +- src/views/examination/QuestionManage.vue | 2 +- src/views/examine/CourseReviewedN.vue | 1770 +++++++++-------- src/views/examine/OnlineReviewed.vue | 5 +- src/views/examine/TobeOnlineReviewed.vue | 5 +- src/views/questionsanswers/QAManage.vue | 2 +- src/views/system/AudienceManage.vue | 16 +- src/views/system/DictManage.vue | 16 +- src/views/system/OldSystemManage.vue | 16 +- src/views/system/ReadingClubManage.vue | 16 +- 22 files changed, 1368 insertions(+), 1241 deletions(-) diff --git a/src/components/Modals/addOnlineCourse.vue b/src/components/Modals/addOnlineCourse.vue index d4599699..f79edb27 100644 --- a/src/components/Modals/addOnlineCourse.vue +++ b/src/components/Modals/addOnlineCourse.vue @@ -22,7 +22,7 @@ style="width: 100%; height: 100%" :src="iframeUrl + '/course/manages'" name="myframe" - sandbox="allow-forms allow-scripts allow-downloads allow-same-origin allow-popups" + sandbox="allow-forms allow-scripts allow-downloads allow-same-origin allow-popups allow-top-navigation" > diff --git a/src/components/drawers/CheckAnsware.vue b/src/components/drawers/CheckAnsware.vue index a54fc849..a50d52c8 100644 --- a/src/components/drawers/CheckAnsware.vue +++ b/src/components/drawers/CheckAnsware.vue @@ -1,281 +1,289 @@ \ No newline at end of file diff --git a/src/components/drawers/CreateOnline.vue b/src/components/drawers/CreateOnline.vue index d8460433..c2a49ca4 100644 --- a/src/components/drawers/CreateOnline.vue +++ b/src/components/drawers/CreateOnline.vue @@ -17,13 +17,13 @@ :src="`${iframeUrl}/course/manages?f=choose&refId=${props.id}&refType=${props.type}&courseIds=${couresIdArray}&projectId=${props.projectId}`" name="myframe" security="restricted" - sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups" + sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups allow-top-navigation" > \ No newline at end of file diff --git a/src/views/examine/OnlineReviewed.vue b/src/views/examine/OnlineReviewed.vue index 31e343bc..9039d0dd 100644 --- a/src/views/examine/OnlineReviewed.vue +++ b/src/views/examine/OnlineReviewed.vue @@ -7,13 +7,12 @@ frameborder="0" name="myframe" security="restricted" - sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups" + sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups allow-top-navigation" >