diff --git a/pages/index/index.uvue b/pages/index/index.uvue index 04c03b046c8479f7ae3f52e95de3e0594ade9a5a..d3bd9fc63e445ce54fe77c1e696cb7fe0e869748 100644 --- a/pages/index/index.uvue +++ b/pages/index/index.uvue @@ -2,7 +2,9 @@ - + + + @@ -75,7 +77,13 @@ console.log(e); } }) - }, + }, + handleSetBadge(){ + uni.setAppBadgeNumber(8) + }, + handleCleanBadge(){ + uni.setAppBadgeNumber(0) + } } }