solved discussion

This commit is contained in:
Mohd Arief
2018-08-07 12:22:14 +08:00
parent 8b362044d3
commit 4b24363994
+2 -2
View File
@@ -8,7 +8,7 @@
<template v-if="user">
<el-dropdown trigger="click" align="right">
<el-badge :value="bellBadge > 0 ? bellBadge : ''" class="item">
<el-button icon="el-icon-bell" circle @click="RefreshNoti()"></el-button>
<el-button icon="el-icon-bell" circle @click="refreshNoti()"></el-button>
</el-badge>
<el-dropdown-menu slot="dropdown">
<div id="notification">
@@ -120,7 +120,7 @@ export default {
// Redirect to login.
this.$router.push({ name: 'login' });
},
RefreshNoti() {
refreshNoti() {
axios.get(this.url).then(response => {
this.bookingTable = response.data.data
this.notification = response.data.message.data;