Browse Source

fix: 删除 console

liyangbin 1 year ago
parent
commit
0d6cdacef4
4 changed files with 0 additions and 5 deletions
  1. 0 1
      src/views/Login.vue
  2. 0 2
      src/views/Settings.vue
  3. 0 1
      utils/request.js
  4. 0 1
      vite.config.js

+ 0 - 1
src/views/Login.vue

@@ -127,7 +127,6 @@ export default {
             }
           )
         } else {
-          console.log('error submit!!')
           return false
         }
       })

+ 0 - 2
src/views/Settings.vue

@@ -101,7 +101,6 @@ export default {
             }
           })
         } else {
-          console.log('error submit!!')
           return false
         }
       })
@@ -144,7 +143,6 @@ export default {
             }
           })
         } else {
-          console.log('error submit!!')
           return false
         }
       })

+ 0 - 1
utils/request.js

@@ -7,7 +7,6 @@ import { Message } from 'element-ui'
 let msg = {
   close(){}
 }
-console.log(' env: ',  import.meta.env);
 
 // 创建请求实例
 const instance = axios.create({

+ 0 - 1
vite.config.js

@@ -6,7 +6,6 @@ import path from "path"
 import { defineConfig } from "vite";
 import legacy from "@vitejs/plugin-legacy";
 import vue2 from "@vitejs/plugin-vue2";
-console.log(import.meta.url)
 // https://vitejs.dev/config/
 export default defineConfig({
   plugins: [