no message

cyl/master
jscyl13849007907 1 week ago
parent 35c933443f
commit 74eaff41db

@ -256,11 +256,6 @@ export default {
this.searchAnimate(); this.searchAnimate();
// #endif // #endif
let appId = getApp().globalData.appId; let appId = getApp().globalData.appId;
if (this.appInfo.noticeImg) {
this.noticeImg = this.appInfo.noticeImg;
} else {
this.noticeImg = "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/notice/noticeDefault.png";
}
that.isshowskit = false; that.isshowskit = false;
// console.log("=========", that); // console.log("=========", that);
that.usetype = "share"; that.usetype = "share";
@ -335,6 +330,11 @@ export default {
} }
uni.setStorageSync("miniApp-info", obj); uni.setStorageSync("miniApp-info", obj);
this.appInfo = obj; this.appInfo = obj;
if (this.appInfo.noticeImg) {
this.noticeImg = this.appInfo.noticeImg;
} else {
this.noticeImg = "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/notice/noticeDefault.png";
}
uni.setStorageSync("pgy-agency-id", res.agency.id); uni.setStorageSync("pgy-agency-id", res.agency.id);
uni.setStorageSync("ai-name", res.agency.aiRobotName); uni.setStorageSync("ai-name", res.agency.aiRobotName);
@ -343,6 +343,12 @@ export default {
} else { } else {
// 使 // 使
this.appInfo = miniAppInfo; this.appInfo = miniAppInfo;
if (this.appInfo.noticeImg) {
this.noticeImg = this.appInfo.noticeImg;
} else {
this.noticeImg = "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/notice/noticeDefault.png";
}
} }
// setTimeout(() => { // setTimeout(() => {

Loading…
Cancel
Save