Преглед изворни кода

修改app,这个人没有任务,但是消息提示有44条,刷新之后就没有了

wangchao пре 3 година
родитељ
комит
a4da344ec1
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      pages/sale/information.vue

+ 3 - 1
pages/sale/information.vue

@@ -179,7 +179,9 @@
 			this.loadData()
 			this.loadData()
 			var userInfo = uni.getStorageSync("userInfo")
 			var userInfo = uni.getStorageSync("userInfo")
 			var that = this
 			var that = this
-
+			uni.removeTabBarBadge({
+				index: 4
+			})
 			this.$api.doRequest('get', '/notice/query/noticeNumber').then(res => {
 			this.$api.doRequest('get', '/notice/query/noticeNumber').then(res => {
 				console.log("noticeNumber", res)
 				console.log("noticeNumber", res)
 				if (res.data.data) {
 				if (res.data.data) {