@@ -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({