瀏覽代碼

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

jwyu 3 年之前
父節點
當前提交
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()