Browse Source

fix: 将iframe链接中的setWorkPage替换为workPageNew

lsc 5 months ago
parent
commit
d4a2081ba6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/Student/index.vue

+ 1 - 1
src/views/Student/index.vue

@@ -1326,7 +1326,7 @@ const processIframeLinks = async () => {
                 iframeSrc = iframeSrc.replace(versionMap[currentVersion], targetDomain)
 
                 if (iframeSrc.includes('setWorkPage')) {
-                  iframeSrc = iframeSrc.replace(/setWorkPage/g, 'workPage')
+                  iframeSrc = iframeSrc.replace(/setWorkPage/g, 'workPageNew')
                 }
 
                 if (iframeSrc.includes('workPage')) {