lsc 3 weeks ago
parent
commit
9e2be4a524

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.bae240b168b30673b01768f2a15455d7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.d93528d5cf9e226d3cf7.js></script><script type=text/javascript src=./static/js/vendor.c5432c45b8b3a14b5737.js></script><script type=text/javascript src=./static/js/app.e5a1ffa3779958d3cd32.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.36770401e336ff0b4e73a1d43851b9d7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.d93528d5cf9e226d3cf7.js></script><script type=text/javascript src=./static/js/vendor.c5432c45b8b3a14b5737.js></script><script type=text/javascript src=./static/js/app.6566a6f45b7af4f427d4.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

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


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


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


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


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


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map


+ 12 - 0
src/components/pages/easy/addCourse.vue

@@ -66,6 +66,7 @@
                               class="binfo_input"
                               v-model="courseName"
                               style="border: 1.5px solid rgb(202, 209, 220);margin: 0px 10px 0px 0px;border-radius: 5px;font-weight: 600;padding: 12px 14px 12px 71px;"
+                              @change="saveCourse"
                             />
                             <!-- background: #f6f6f6; -->
                             <el-switch
@@ -13888,6 +13889,17 @@ export default {
         this.isPasteTask = true;
       }
     },
+    saveCourse(){
+      if (this.cid == "" || this.cid == undefined) {
+        this.addWork();
+      } else {
+        if (this.userid != this.courseUserid && this.role != "1") {
+          this.updateWork2();
+        } else {
+          this.updateWork();
+        }
+      }
+    },
     searchImage() {
       var _this = this;
       _this.imageList = [];

+ 12 - 0
src/components/pages/newCourse/addCourse.vue

@@ -172,6 +172,7 @@
                                 font-weight: 600;
                                 padding: 12px 14px 12px 71px;
                               "
+                              @change="saveCourse"
                             />
                             <el-switch
                               v-model="highSetting"
@@ -14225,6 +14226,17 @@ export default {
         this.isPasteTask = true;
       }
     },
+    saveCourse(){
+      if (this.cid == "" || this.cid == undefined) {
+        this.addWork();
+      } else {
+        if (this.userid != this.courseUserid && this.role != "1") {
+          this.updateWork2();
+        } else {
+          this.updateWork();
+        }
+      }
+    },
     searchImage() {
       var _this = this;
       _this.imageList = [];

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