修改 app问题
This commit is contained in:
@@ -84,11 +84,11 @@ export default {
|
||||
}
|
||||
this.init()
|
||||
},
|
||||
onShow() {},
|
||||
// onShow() { this.init()},
|
||||
onNavigationBarButtonTap(e) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定要全部标记为已读吗2?',
|
||||
content: '确定要全部标记为已读吗?',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
updateStatus({
|
||||
@@ -136,8 +136,13 @@ export default {
|
||||
this.store.reload()
|
||||
},
|
||||
jump(item) {
|
||||
console.log(`123`,item);
|
||||
console.log(`123`,this.type);
|
||||
if (this.type === '0') {
|
||||
|
||||
let str = JSON.stringify(item).replace(/%/g, '百分比')
|
||||
item.status = '1'
|
||||
|
||||
uni.navigateTo({ url: '/pages/message/messageDetail?detail=' + encodeURIComponent(str) })
|
||||
} else {
|
||||
if (item.status != '1') {
|
||||
|
||||
Reference in New Issue
Block a user