浏览代码

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-teacher-table

lsc 2 年之前
父节点
当前提交
8cf04faad2
共有 1 个文件被更改,包括 2 次插入8 次删除
  1. 2 8
      src/components/pages/Ttype.vue

+ 2 - 8
src/components/pages/Ttype.vue

@@ -662,15 +662,12 @@ export default {
             if (list.length == 0) {
               this.$message.error("请上传需要添加的banner");
               return;
-            } else if (this.bannerCourse === "") {
-              this.$message.error("请填写选择banner的链接");
-              return;
             }
             if (this.time()) {
               let params = [
                 {
                   p: list[0].url,
-                  url: this.bannerCourse.courseId,
+                  url: "",
                   uid: this.userid,
                   oid: this.updateOid,
                 },
@@ -697,15 +694,12 @@ export default {
         if (list.length == 0) {
           this.$message.error("请上传需要添加的banner");
           return;
-        } else if (this.bannerCourse === "") {
-          this.$message.error("请填写选择banner的链接");
-          return;
         }
         if (this.time()) {
           let params = [
             {
               p: list[0].url,
-              url: this.bannerCourse.courseId,
+              url: "",
               uid: this.userid,
               oid: this.updateOid,
             },