diff --git a/sgzb-ui/src/utils/config.js b/sgzb-ui/src/utils/config.js index 05520025..2a73b1ec 100644 --- a/sgzb-ui/src/utils/config.js +++ b/sgzb-ui/src/utils/config.js @@ -2,7 +2,7 @@ import { getConfig } from '@/api/login' export function getConfigApi() { getConfig() .then((response) => { - console.log(response) + // console.log(response) localStorage.setItem('systemConfig', JSON.stringify(response.data)) }) .catch((error) => { diff --git a/sgzb-ui/src/utils/request.js b/sgzb-ui/src/utils/request.js index ed47d5ec..5c4d6e2c 100644 --- a/sgzb-ui/src/utils/request.js +++ b/sgzb-ui/src/utils/request.js @@ -64,7 +64,7 @@ service.interceptors.request.use(config => { } let contentType = config.headers['Content-Type'] // console.log('🚀 ~ contentType:', contentType, requestObj.data) - console.log('🚀 ~ 要加密:', contentType.includes('application/json'), typeof requestObj.data) + // console.log('🚀 ~ 要加密:', contentType.includes('application/json'), typeof requestObj.data) if (contentType.includes('application/json') && typeof requestObj.data !== 'undefined') { // 加密数据 if (systemConfig.requestConfig.encryptRequest && encryptRequest) { diff --git a/sgzb-ui/src/views/newLogin.vue b/sgzb-ui/src/views/newLogin.vue index 37c54ff6..3c1dee7e 100644 --- a/sgzb-ui/src/views/newLogin.vue +++ b/sgzb-ui/src/views/newLogin.vue @@ -528,7 +528,7 @@ export default { localStorage.setItem('username', username) localStorage.setItem('pw', password) const res = await checkPasswordStatus() - console.log('🚀 ~ .then ~ res:', res) + // console.log('🚀 ~ .then ~ res:', res) this.$router.push({ path: '/' }).catch(() => {}) }) .catch(() => {