@@ -11,11 +11,10 @@ export const getUserInfo = () => {
const {
data
} = response;
-
// tab数字角标
uni.setTabBarBadge({
index: 2,
- text: data.unread
+ text: data.unread + ""
})
uni.setStorageSync('recycle_mobile_user', data);
resolve(data);
@@ -301,4 +301,4 @@
}
-</style>
+</style>