22
This commit is contained in:
@@ -19,16 +19,6 @@ const mutations = {
|
||||
};
|
||||
},
|
||||
SET_UNREAD_COUNT(state, count) {
|
||||
if (count>0) {
|
||||
uni.setTabBarBadge({
|
||||
index: 0,
|
||||
text: count < 99 ? count + "" : "99+",
|
||||
});
|
||||
} else {
|
||||
uni.removeTabBarBadge({
|
||||
index: 0,
|
||||
});
|
||||
}
|
||||
state.unReadCount = count;
|
||||
},
|
||||
SET_CURRENT_GROUP(state, group) {
|
||||
|
||||
Reference in New Issue
Block a user