Browse Source

30秒关闭消息弹窗

pengyh 1 year ago
parent
commit
8c94e5de0f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/layout/components/Navbar.vue

+ 2 - 2
src/layout/components/Navbar.vue

@@ -378,14 +378,14 @@ export default {
 			  url: `/notice/list/out`,
 			  method: 'get',
 			  params: {
-				  num: 20,
+				  num: 30,
 			  }
 			}).then(res=>{
 				res.data.forEach(item=>{
 					this.$notify({
 						title: '新消息',
 						position: 'bottom-right',
-						duration: 3000,
+						duration: 30000,
 						message: that.$createElement(
 							"div",
 							{