소스 검색

no message

linwenxin 1 년 전
부모
커밋
bd1557b5ce
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  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
       })