Commit b0ff5c4b authored by vinh's avatar vinh

commit

parent 85a44480
...@@ -2,7 +2,7 @@ import axios from 'axios' ...@@ -2,7 +2,7 @@ import axios from 'axios'
axios.interceptors.request.use( axios.interceptors.request.use(
(config) => { (config) => {
config.baseURL = 'http://localhost:8000/api' config.baseURL = 'http://192.168.200.106:8000/api'
config.headers.Accept = 'application/json' config.headers.Accept = 'application/json'
const token = localStorage.getItem('token') const token = localStorage.getItem('token')
if (token) { if (token) {
......
...@@ -19,6 +19,7 @@ export default { ...@@ -19,6 +19,7 @@ export default {
components: { components: {
DataTable DataTable
}, },
setup() { setup() {
const checkinToday = ref([]); const checkinToday = ref([]);
const tableTitles = ['Guest id', 'Guest name', 'Total booking', 'Email address', 'Booking this month', 'Joined date'] const tableTitles = ['Guest id', 'Guest name', 'Total booking', 'Email address', 'Booking this month', 'Joined date']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment