zhongrj
2023-11-30 a253ac4e7e7dcd0277fba9b04015d3e0fe3afba9
通知新增实时提醒
1 files modified
9 ■■■■■ changed files
src/page/index/top/top-notice.vue 9 ●●●●● patch | view | raw | blame | history
src/page/index/top/top-notice.vue
@@ -91,14 +91,15 @@
      var values = {
        viewType: 2
      }
      var that = this;
      // 获取通知数量
      getList(1, 10, values).then((res) => {
        const data = res.data.data;
        this.total = data.total;
        if (this.total > 0) {
          this.view = true
        that.total = data.total;
        if (that.total > 0) {
          that.view = true
        } else {
          this.view = false
          that.view = false
        }
      })