lsc před 2 roky
rodič
revize
f310c3188e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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