zengyicheng 2 anos atrás
pai
commit
36e67969a5

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.ac1f789a0e9cd7c47eddce5d3951f4b9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.779ee1bbeec2c196af1e.js></script><script type=text/javascript src=./static/js/app.be4f67d464123d492592.js></script></body></html>
+    }</style><link href=./static/css/app.50f24944fdd3f388cd63f44834eb3c0e.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.779ee1bbeec2c196af1e.js></script><script type=text/javascript src=./static/js/app.2b5a06c665b705fff065.js></script></body></html>

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/css/app.50f24944fdd3f388cd63f44834eb3c0e.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/css/app.50f24944fdd3f388cd63f44834eb3c0e.css.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.2b5a06c665b705fff065.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.be4f67d464123d492592.js


+ 12 - 14
src/components/pages/addCourse.vue

@@ -1511,13 +1511,12 @@ export default {
               0 ||
             this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length ==
               0 ||
-            this.courseName != "" ||
-            this.courseText != "" ||
-            this.cover.length != 0 ||
-            this.courseTypeId.length != 0 ||
-            this.checkboxList.length != 0 ||
-            this.templateC.id == "" ||
-            this.templateC.id == undefined
+            (this.courseName != "" &&
+              this.courseText != "" &&
+              this.cover.length != 0 &&
+              this.courseTypeId.length != 0 &&
+              this.checkboxList.length != 0 &&
+              (this.templateC.id == "" || this.templateC.id == undefined))
           ) {
             this.$message.error("请将信息填写完整");
             return;
@@ -1551,13 +1550,12 @@ export default {
               0 ||
             this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length ==
               0 ||
-            this.courseName != "" ||
-            this.courseText != "" ||
-            this.cover.length != 0 ||
-            this.courseTypeId.length != 0 ||
-            this.checkboxList.length != 0 ||
-            this.templateC.id == "" ||
-            this.templateC.id == undefined
+            (this.courseName != "" &&
+              this.courseText != "" &&
+              this.cover.length != 0 &&
+              this.courseTypeId.length != 0 &&
+              this.checkboxList.length != 0 &&
+              (this.templateC.id == "" || this.templateC.id == undefined))
           ) {
             this.$message.error("请将信息填写完整");
             return;

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff