Browse Source

Merge branch '蓝色' into 测试

xiaohaizhao 10 months ago
parent
commit
d2713b6adf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pages/tabbar/message/details.js
  2. 1 1
      utils/work/apps.js

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

@@ -48,7 +48,7 @@ Page({
 										break; */
 				default:
 					let arr = item.path.split("/");
-					arr[arr.length - 1] = ["sys_attachment"].includes(item.objectname) ? 'index' : '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("/");
 					break;
 			}

+ 1 - 1
utils/work/apps.js

@@ -55,7 +55,7 @@ function gettool() {
 		name: "通告",
 		path: "/pages/annunciate/index",
 		icon: "work-a-shouyejingangqutonggao",
-		objectname: "sat_notice"
+		objectname: "sat_noticeids"
 	}, {
 		name: "营销物料",
 		path: "/pages/mediaLibrary/index",