diff --git a/build/index.js b/build/index.js index 0c57de2aa..f71ba20fe 100644 --- a/build/index.js +++ b/build/index.js @@ -24,9 +24,9 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) { ) app.listen(port, function () { - console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`)) + // debug(chalk.green(`> Preview at http://localhost:${port}${publicPath}`)) if (report) { - console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`)) + // debug(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`)) } }) diff --git a/mock/index.js b/mock/index.js index 90e2ffe9e..d43958fd3 100644 --- a/mock/index.js +++ b/mock/index.js @@ -56,7 +56,7 @@ const responseFake = (url, type, respond) => { url: new RegExp(`${process.env.VUE_APP_BASE_API}${url}`), type: type || 'get', response(req, res) { - console.log('request invoke:' + req.path) + // debug('request invoke:' + req.path) res.json(Mock.mock(respond instanceof Function ? respond(req, res) : respond)) } } diff --git a/mock/mock-server.js b/mock/mock-server.js index 4c4cb2af8..8393f84c5 100644 --- a/mock/mock-server.js +++ b/mock/mock-server.js @@ -59,9 +59,9 @@ module.exports = app => { mockRoutesLength = mockRoutes.mockRoutesLength mockStartIndex = mockRoutes.mockStartIndex - console.log(chalk.magentaBright(`\n > Mock Server hot reload success! changed ${path}`)) + // debug(chalk.magentaBright(`\n > Mock Server hot reload success! changed ${path}`)) } catch (error) { - console.log(chalk.redBright(error)) + // debug(chalk.redBright(error)) } } }) diff --git a/src/components/AccountListTable/UpdateSecretInfo.vue b/src/components/AccountListTable/UpdateSecretInfo.vue index 25f68db58..5b0ea3cb2 100644 --- a/src/components/AccountListTable/UpdateSecretInfo.vue +++ b/src/components/AccountListTable/UpdateSecretInfo.vue @@ -31,6 +31,7 @@