lsc há 2 anos atrás
pai
commit
f310c3188e
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/pages/addCourse.vue

+ 2 - 2
src/components/pages/addCourse.vue

@@ -4375,7 +4375,7 @@ export default {
       let params = [
         {
           uid: this.userid,
-          title: this.courseName,
+          title: this.courseName.replace(/%/g, "%25"),
           brief: this.courseText.replace(/%/g, "%25"),
           cover:
             this.cover.length > 0
@@ -4533,7 +4533,7 @@ export default {
       let params = [
         {
           cid: this.cid,
-          title: this.courseName,
+          title: this.courseName.replace(/%/g, "%25"),
           brief: this.courseText.replace(/%/g, "%25"),
           cover:
             this.cover.length > 0