Преглед изворни кода

报告列表二次分享,分享标题格式化

jwyu пре 2 година
родитељ
комит
67860df9bc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pages-report/reportList.vue

+ 1 - 1
pages-report/reportList.vue

@@ -92,7 +92,7 @@ export default {
   },
   onLoad(options) {
     this.classifyId=options.classifyId
-    this.classifyName=options.classifyName
+    this.classifyName=decodeURIComponent(options.classifyName)
     // 设置title
     uni.setNavigationBarTitle({ title: decodeURIComponent(options.classifyName) })
     this.getList()