lsc 2 years ago
parent
commit
1d95cce069

+ 1 - 1
dist/index.html

@@ -25,7 +25,7 @@
       height: 100%;
       height: 100%;
       width: 100%;
       width: 100%;
       background: #e6eaf0;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.7590f37350b433b8053e070e31e7da31.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f1661c5ebfd33221b88f.js></script><script type=text/javascript src=./static/js/app.7611d9b127639b6e3d71.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.ae4182264d7fd33a382840916bfcf4f3.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f1661c5ebfd33221b88f.js></script><script type=text/javascript src=./static/js/app.bcebdacef87c8def69e9.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.7590f37350b433b8053e070e31e7da31.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.ae4182264d7fd33a382840916bfcf4f3.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.ae4182264d7fd33a382840916bfcf4f3.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.7611d9b127639b6e3d71.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.bcebdacef87c8def69e9.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.bcebdacef87c8def69e9.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


+ 3 - 2
src/components/pages/CaseDesign.vue

@@ -356,9 +356,10 @@ export default {
                         toolC2 += _tasks[task].toolChoose.length;
                         toolC2 += _tasks[task].toolChoose.length;
                       }
                       }
                       fontC2 += _tasks[task].task.length;
                       fontC2 += _tasks[task].task.length;
-                      fontC2 += _tasks[task].taskDetail
+                      console.log(_tasks[task].taskDetail);
+                      fontC2 += _tasks[task].taskDetail ? _tasks[task].taskDetail
                         .replace(/<[^<>]+>/g, "")
                         .replace(/<[^<>]+>/g, "")
-                        .replace(/&nbsp;/gi, "").length;
+                        .replace(/&nbsp;/gi, "").length : 0;
                       let _tools = _tasks[task].toolChoose;
                       let _tools = _tasks[task].toolChoose;
                       for (var tool = 0; tool < _tools.length; tool++) {
                       for (var tool = 0; tool < _tools.length; tool++) {
                         fontC2 += _tools[tool].toolDetail.length;
                         fontC2 += _tools[tool].toolDetail.length;

+ 1 - 1
src/components/pages/course.vue

@@ -9,7 +9,7 @@
       </div>
       </div>
       <div class="student_button">
       <div class="student_button">
         <!-- <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button> -->
         <!-- <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button> -->
-        <el-button type="primary" class="bgColor" @click="goToCourse2()">极简添加</el-button>
+        <!-- <el-button type="primary" class="bgColor" @click="goToCourse2()">极简添加</el-button> -->
         <el-button type="primary" class="bgColor" @click="goToCourse()">添加课程</el-button>
         <el-button type="primary" class="bgColor" @click="goToCourse()">添加课程</el-button>
       </div>
       </div>
     </div>
     </div>

Some files were not shown because too many files changed in this diff