1let headerVue; 2 3window.addEventListener('load', function() { 4 headerVue = new Vue(headerVueObj); 5}); 6 7const headerVueObj = { 8 el: '#el-header', 9 data() { 10 return { 11 unreadNotiCount: 0, 12 }; 13 }, 14 mounted() { 15 if (memberManager.isMember) { 16 let notificationButton = this.$refs.notificationButton; 17 if (notificationButton) { 18 notificationButton.classList.add('visible'); 19 notificationButton.classList.remove('invisible'); 20 } 21 this.getUnreadNotiCount(); 22 } 23 }, 24 methods: { 25 goNoticeCenter() { 26 window.location.href = _linkTo('/notiCenter', { 27 tab: 'total', 28 }); 29 }, 30 getUnreadNotiCount() { 31 _get(`/rest/vacancy/unread-vacancy-count`, {}, (res) => { 32 if (res.status === RestResponseStatus.OK) { 33 this.unreadNotiCount = res.data.unreadCount; 34 } 35 }); 36 }, 37 }, 38};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.