Browse Source

更新登录类型

lex 2 years ago
parent
commit
21298a72c5

+ 1 - 1
src/store/modules/user.js

@@ -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)

File diff suppressed because it is too large
+ 0 - 0
web/index.html


File diff suppressed because it is too large
+ 0 - 0
web/static/web/js/app.662dc52a.js


File diff suppressed because it is too large
+ 0 - 0
web/static/web/js/app.e6f30dba.js


Some files were not shown because too many files changed in this diff