n20-common-lib 1.2.34 → 1.2.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -258,17 +258,16 @@ export default {
258
258
  null,
259
259
  { noMsg: true }
260
260
  )
261
- .then(({ msg }) => {
262
- this.readAllMsg(msg)
261
+ .then(({ msg = '' }) => {
262
+ this.$message({
263
+ message: '消息一键已读成功 ' + msg,
264
+ type: 'success'
265
+ })
266
+ this.getNNum()
267
+ this.getMsgList()
263
268
  })
264
269
  })
265
270
  },
266
- readAllMsg(msg = '') {
267
- this.$message({
268
- message: '消息一键已读成功 ' + msg,
269
- type: 'success'
270
- })
271
- },
272
271
  queryMore() {
273
272
  this.$router.push({ path: '/notice/list' })
274
273
  },
@@ -280,6 +279,7 @@ export default {
280
279
  message: '系统公告一键已读成功',
281
280
  type: 'success'
282
281
  })
282
+ this.getNNum()
283
283
  this.getAfficheList()
284
284
  })
285
285
  },