Browse Source

新增完ppt直接进入编辑模式

黄琪勇 1 week ago
parent
commit
d3a0451dfc

+ 1 - 1
dev-dist/sw.js

@@ -82,7 +82,7 @@ define(['./workbox-88bf3160'], (function (workbox) { 'use strict';
     "revision": "3ca0b8505b4bec776b69afdba2768812"
   }, {
     "url": "index.html",
-    "revision": "0.07uic5uubv8"
+    "revision": "0.15ep1dnlqh"
   }], {});
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {

+ 1 - 1
index.html

@@ -16,7 +16,7 @@
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
   <meta name="apple-mobile-web-app-capable" content="yes" />
   <!-- 自动将HTTP请求升级成安全的HTTPS请求 -->
-  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
+  <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> -->
   <!-- 设置苹果工具栏颜色 -->
   <meta name="apple-mobile-web-app-status-bar-style" content="black" />
   <!-- 忽略页面中的数字识别为电话,忽略email识别 -->

+ 1 - 1
public/version.json

@@ -1 +1 @@
-{"version":1731319840132}
+{"version":1734591189824}

+ 7 - 0
src/views/prepare-lessons/components/lesson-main/courseware-presets/index.tsx

@@ -609,6 +609,13 @@ export default defineComponent({
               pptCourseware.pptCoursewareShow = false;
               getCoursewareList();
               eventGlobal.emit('openCoursewareChanged');
+              const { teacherSaveFlag, id, chapterKnowledgeList } = res.data;
+              handleRouterPPT({
+                teacherSaveFlag,
+                id,
+                pptId:
+                  chapterKnowledgeList[0]?.chapterKnowledgeMaterialList[0]?.id
+              });
             }
           });
         }