no message

cyl/master
jscyl13849007907 1 week ago
parent 5657621762
commit 82185e0eb7

@ -348,6 +348,19 @@ export default {
// setTimeout(() => { // setTimeout(() => {
// that.appInfo = uni.getStorageSync("miniApp-info"); // that.appInfo = uni.getStorageSync("miniApp-info");
// }, 100); // }, 100);
setTimeout(() => {
if (uni.getStorageSync("miniApp-info").notice) {
let notice = uni.getStorageSync("miniApp-info").notice;
var reg = /[\r\n]/g;
notice = notice.replace(reg, "");
that.noticList = [];
// that.noticList = notice;
that.noticList.push(notice);
that.showNotic = "play";
}
console.log("that.noticList", that.noticList);
}, 100);
}, },
data() { data() {
return { return {

@ -100,9 +100,11 @@ export default {
}); });
that.isChange = false; that.isChange = false;
that.G.getAgencyInfo(()=>{ that.G.getAgencyInfo(()=>{
setTimeout(()=>{
uni.switchTab({ uni.switchTab({
url:'/pages/home/index' url:'/pages/home/index'
}) })
},500)
}); });
},()=>{ },()=>{
that.isSubmit = false; that.isSubmit = false;

Loading…
Cancel
Save