diff --git a/mock/mockServer.js b/mock/mockServer.js index 5c31a7c..0158664 100644 --- a/mock/mockServer.js +++ b/mock/mockServer.js @@ -3,7 +3,7 @@ const bodyParser = require('body-parser') const chalk = require('chalk') const path = require('path') const Mock = require('mockjs') -const { baseURL } = require('../src/config/settings') +const { baseURL } = require('../src/config') const mockDir = path.join(process.cwd(), 'mock') /** diff --git a/src/api/user.js b/src/api/user.js index b4c14d4..e99e29f 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -1,6 +1,6 @@ import request from '@/utils/request' import { encryptedData } from '@/utils/encrypt' -import { loginRSA, tokenName } from '@/config/settings' +import { loginRSA, tokenName } from '@/config' export async function login(data) { if (loginRSA) { diff --git a/src/components/VabUpload/index.vue b/src/components/VabUpload/index.vue index 9b7744e..31d83a5 100644 --- a/src/components/VabUpload/index.vue +++ b/src/components/VabUpload/index.vue @@ -75,7 +75,7 @@