(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1cbfed6c"],{"05be9":function(e,t,n){},2322:function(e,t,n){"use strict";n("05be9")},c2e9:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"notice"},[n("div",{staticClass:"header-notice right-menu-item"},[n("span",{staticClass:"el-dropdown-link"},[e.$store.state.user.messageCount>0?n("el-badge",{attrs:{"is-dot":!1,value:e.$store.state.user.messageCount,max:99},nativeOn:{click:function(t){return e.goMessageCenter(t)}}},[n("el-tooltip",{attrs:{effect:"dark",content:"消息通知",placement:"left"}},[n("i",{staticClass:"el-icon-bell el-icon-notice"})])],1):n("span",{on:{click:e.goMessageCenter}},[n("el-tooltip",{attrs:{effect:"dark",content:"消息通知",placement:"left"}},[n("i",{staticClass:"el-icon-bell el-icon-notice"})])],1)],1),e._v(" "),n("noticeList",{ref:"noticeList"})],1)])},i=[],o=n("e876"),c=n("83d6"),a={name:"Notice",components:{noticeList:function(){return n.e("chunk-eaa3d48e").then(n.bind(null,"f9e2"))}},data:function(){return{count:0,roterPre:c["roterPre"],where:{page:1,limit:1}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;Object(o["i"])(this.where).then((function(t){e.count=t.data.messageNum?t.data.messageNum:0,e.$store.commit("user/SET_MESSAGE",e.count)}))},goMessageCenter:function(){"user-news-unread"!=this.$store.name&&this.$refs.noticeList.openBox()}}},r=a,u=(n("2322"),n("2877")),l=Object(u["a"])(r,s,i,!1,null,"73957454",null);t["default"]=l.exports}}]);