Ver código fonte

fix(pptEasy/addCourse3): 修复工具标题硬编码为kwl的问题

将硬编码的工具标题替换为多语言配置的ssKWLTitle,同时修正变量名拼写错误
lsc 5 horas atrás
pai
commit
0d1f9e3095
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/pages/pptEasy/addCourse3.vue

+ 2 - 2
src/components/pages/pptEasy/addCourse3.vue

@@ -2749,9 +2749,9 @@ export default {
     },
     },
     //添加工具
     //添加工具
     addTool2(tool, data) {
     addTool2(tool, data) {
-      let tile = ""
+      let title = ""
       if (tool == 831){
       if (tool == 831){
-        title = "kwl"
+        title = this.lang.ssKWLTitle
       }
       }
       this.dialogVisibleChoice = false;
       this.dialogVisibleChoice = false;
       let _data = { id: new Date().getTime(), tool: 15, title: title, json: data, url: "" }
       let _data = { id: new Date().getTime(), tool: 15, title: title, json: data, url: "" }