%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/store/
Upload File :
Create Path :
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/store/languages.js

export const state = () => ({
  list: []
})

export const mutations = {
  setList(state, data) {
    state.list = data
  }
}

export const actions = {
  async get({ commit, error }, payload) {
    await this.$axios.get('/languages', {
      params: payload,
    }).then((res) => {
      if (res.status === 200) {
        commit('setList', res.data.data)
      }
    })
  }
}

Zerion Mini Shell 1.0