消息列表优化
This commit is contained in:
@@ -80,7 +80,7 @@ export default {
|
||||
break
|
||||
case 'book':
|
||||
uni.openDocument({
|
||||
filePath: "/static/user_manual.docx",
|
||||
filePath: '/static/user_manual.docx',
|
||||
success: function (res) {
|
||||
console.log('打开文档成功')
|
||||
},
|
||||
@@ -92,6 +92,10 @@ export default {
|
||||
content: '是否确认退出登录?',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
uni.removeStorageSync(this.$cacheKey.messageCount)
|
||||
// #ifdef APP-PLUS
|
||||
plus.runtime.setBadgeNumber(0)
|
||||
// #endif
|
||||
uni.reLaunch({
|
||||
url: `/pages/user/login`,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user