@@ -49,7 +49,7 @@ Page({
//修改跳转页面
if (item.path) {
let arr = item.path.split("/");
- arr[arr.length - 1] = 'detail';
+ arr[arr.length - 1] = ["sat_submiteditmodel", "sat_noticeids", "sat_sharematerial"].includes(item.objectname) ? 'details' : ["sys_attachment"].includes(item.objectname) ? 'index' : 'detail';
item.path = arr.join("/");
}
this.setData({
@@ -56,7 +56,7 @@ function gettool() {
name: "通告",
path: "/pages/annunciate/index",
icon: "work-a-shouyejingangqutonggao",
- objectname: "sat_notice"
+ objectname: "sat_noticeids"
}, {
name: "营销物料",
path: "/pages/mediaLibrary/index",