|
@@ -49,7 +49,7 @@ Page({
|
|
|
//修改跳转页面
|
|
//修改跳转页面
|
|
|
if (item.path) {
|
|
if (item.path) {
|
|
|
let arr = item.path.split("/");
|
|
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("/");
|
|
item.path = arr.join("/");
|
|
|
}
|
|
}
|
|
|
this.setData({
|
|
this.setData({
|