|
@@ -89,7 +89,6 @@ const actions = {
|
|
.then((res) => {
|
|
.then((res) => {
|
|
if (res.code == 0 && res.returnData) {
|
|
if (res.code == 0 && res.returnData) {
|
|
commit('SET_ROLES', ['admin'])
|
|
commit('SET_ROLES', ['admin'])
|
|
- console.log(111)
|
|
|
|
resolve(res.returnData)
|
|
resolve(res.returnData)
|
|
} else {
|
|
} else {
|
|
resolve({ code: -1, type: 'error' })
|
|
resolve({ code: -1, type: 'error' })
|