Преглед на файлове

修改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()
 			var userInfo = uni.getStorageSync("userInfo")
 			var that = this
-
+			uni.removeTabBarBadge({
+				index: 4
+			})
 			this.$api.doRequest('get', '/notice/query/noticeNumber').then(res => {
 				console.log("noticeNumber", res)
 				if (res.data.data) {