|
@@ -3,8 +3,9 @@ import Vuex from 'vuex';
|
|
|
import axios from 'axios';
|
|
|
import _ from 'lodash';
|
|
|
Vue.use(Vuex);
|
|
|
+const prefix = '/api/role/auth';
|
|
|
const api = {
|
|
|
- interface: `/api/auth/role`,
|
|
|
+ interface: `${prefix}/role`,
|
|
|
};
|
|
|
const state = () => ({});
|
|
|
const mutations = {};
|