lsc hace 3 años
padre
commit
f310c3188e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/components/pages/addCourse.vue

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

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