Selaa lähdekoodia

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

jwyu 2 vuotta sitten
vanhempi
commit
67860df9bc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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()