Browse Source

Merge pull request #107 from go-admin-team/dev

更新版本号
lwnmengjing 4 years ago
parent
commit
7b49f7d012
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/api/user.js

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "go-admin",
-  "version": "1.3.1rc.1",
+  "version": "1.3.3",
   "description": "A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features",
   "author": "https://github.com/wenjianzhang",
   "license": "MIT",

+ 1 - 1
src/api/user.js

@@ -2,7 +2,7 @@ import request from '@/utils/request'
 
 export function login(data) {
   return request({
-    url: '/login',
+    url: '/api/v1/login',
     method: 'post',
     data
   })