Explorar el Código

营销物料跳转失败问题

xiaohaizhao hace 1 año
padre
commit
1d7a49da6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/tabbar/message/details.js

+ 1 - 1
pages/tabbar/message/details.js

@@ -49,7 +49,7 @@ Page({
         //修改跳转页面
         if (item.path) {
             let arr = item.path.split("/");
-            arr[arr.length - 1] = 'detail';
+            arr[arr.length - 1] = ["sys_attachment"].includes(item.objectname) ? 'index' : 'detail';
             item.path = arr.join("/");
         }
         this.setData({