linwenxin 1 éve
szülő
commit
bd1557b5ce
2 módosított fájl, 6 hozzáadás és 2 törlés
  1. 6 1
      src/api/user.js
  2. 0 1
      src/views/login/index.vue

+ 6 - 1
src/api/user.js

@@ -1,6 +1,11 @@
 import request, { postBlob, getBlob, handleImport } from '@/utils/request'
 
-
+export function getList() {
+  return request({
+    url: '/record/list',
+    method: 'get'
+  })
+}
 
 export function getCompanyList() {
   return request({

+ 0 - 1
src/views/login/index.vue

@@ -181,7 +181,6 @@ export default {
     // 获取验证码
     getCode() {
       getCode().then(res => {
-        console.log(res)
         this.loginForm.code = res.data.code
         this.codeImage = res.data.pic
       })