|
@@ -53,7 +53,7 @@ const actions = {
|
|
|
login({ commit }, userInfo) {
|
|
|
const { username, password } = userInfo
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- login({ username: username.trim(), password: password, clientId: 'system', clientSecret: 'system' }).then(response => {
|
|
|
+ login({ username: username.trim(), password: password, clientId: 'oa', clientSecret: 'oa' }).then(response => {
|
|
|
const { data } = response
|
|
|
if (response.code == 200) {
|
|
|
console.log(data)
|