فهرست منبع

Merge branch 'master' of http://60.205.254.193:3000/GCLS/eep_page

zq 1 ماه پیش
والد
کامیت
cbf7ba089a

+ 1 - 1
.env

@@ -11,4 +11,4 @@ VUE_APP_BookWebSI = '/GCLSBookWebSI/ServiceInterface'
 VUE_APP_EepServer = '/EEPServer/SI'
 
 #version
-VUE_APP_VERSION = '2026.07.05'
+VUE_APP_VERSION = '2026.07.07'

+ 5 - 3
package.json

@@ -55,7 +55,7 @@
   "devDependencies": {
     "@babel/core": "^7.28.5",
     "@babel/eslint-parser": "^7.28.5",
-    "@electron/fuses": "^1.8.0",
+    "@electron/fuses": "^2.1.3",
     "@rushstack/eslint-patch": "^1.15.0",
     "@types/md5": "^2.3.6",
     "@vue/cli-plugin-babel": "~5.0.9",
@@ -64,8 +64,8 @@
     "@vue/eslint-config-prettier": "^9.0.0",
     "@vue/preload-webpack-plugin": "^2.0.0",
     "compression-webpack-plugin": "^6.1.2",
-    "electron": "29.3.2",
-    "electron-builder": "^24.13.3",
+    "electron": "43.0.0",
+    "electron-builder": "^26.15.3",
     "eslint": "^8.57.1",
     "eslint-plugin-prettier": "^5.5.4",
     "eslint-plugin-vue": "^9.33.0",
@@ -90,6 +90,8 @@
     "appId": "com.gcls.page.textbook",
     "productName": "智慧梧桐数字教材编辑器",
     "copyright": "Copyright © 2026 ${author}",
+    "electronDist": "C:/Users/17582/AppData/Local/electron/Cache",
+    "npmRebuild": false,
     "asarUnpack": [
       "node_modules/7zip-bin/**"
     ],

+ 1 - 1
packages/index.js

@@ -9,7 +9,7 @@ import '@/icons';
 import '@/utils/directive';
 
 import '@/utils/mathjax'; // 必须在引入mathjax前引入mathjax的配置文件
-import 'mathjax/es5/tex-mml-chtml';
+import 'mathjax/es5/tex-mml-svg';
 
 import VueSignaturePad from 'vue-signature-pad';
 

+ 1 - 0
src/views/book/courseware/preview/components/fill/FillPreview.vue

@@ -499,6 +499,7 @@ export default {
 
   .fill-wrapper {
     grid-area: fill;
+    align-self: start;
     font-size: 16pt;
 
     :deep .pinyin-area .rich-text-container,

+ 4 - 2
src/views/book/courseware/preview/components/new_word/NewWordPreview.vue

@@ -1690,8 +1690,10 @@ export default {
   },
   mounted() {
     this.$nextTick(() => {
-      let totalWidth = document.querySelector('.newWord-preview').offsetWidth;
-      this.width = `${totalWidth - (this.data.property.sn_display_mode === 'true' ? 15 : 0)}`;
+      setTimeout(() => {
+        let totalWidth = document.querySelector('.newWord-preview').offsetWidth;
+        this.width = `${totalWidth - (this.data.property.sn_display_mode === 'true' ? 15 : 0)}`;
+      }, 200);
     });
 
     this.dataHeight = this.$refs.previewContainer ? this.$refs.previewContainer.style.height : 0;

+ 10 - 3
src/views/book/courseware/preview/components/video_interaction/VideoInteractionPreview.vue

@@ -136,10 +136,17 @@ export default {
       if (!val) return;
       this.userAnswer = this.answer.answer_list[0];
     },
+    'data.video_list.length': {
+      handler(val) {
+        if (val) {
+          this.initData();
+        }
+      },
+      deep: true,
+      immediate: true,
+    },
   },
-  created() {
-    this.initData();
-  },
+  created() {},
   mounted() {},
   beforeDestroy() {
     if (this.player) {