diff --git a/threadpool/console/package.json b/threadpool/console/package.json index 505a900b..674071f3 100755 --- a/threadpool/console/package.json +++ b/threadpool/console/package.json @@ -107,5 +107,8 @@ "browserslist": [ "> 1%", "last 2 versions" - ] + ], + "rules": { + "no-unused-vars": "off" + } } diff --git a/threadpool/console/src/views/login/index.vue b/threadpool/console/src/views/login/index.vue index 66ce2387..fcce7d45 100755 --- a/threadpool/console/src/views/login/index.vue +++ b/threadpool/console/src/views/login/index.vue @@ -158,7 +158,9 @@ export default { }); }, handleLogin() { + console.log('111111') this.$refs.loginForm.validate((valid) => { + console.log('22222', valid) if (valid) { this.loading = true; this.$store diff --git a/threadpool/console/vue.config.js b/threadpool/console/vue.config.js index e8c52a02..cc65b92b 100755 --- a/threadpool/console/vue.config.js +++ b/threadpool/console/vue.config.js @@ -35,7 +35,7 @@ module.exports = { }, proxy: { '/hippo4j/v1/cs': { - target: `http://127.0.0.1:6691/hippo4j/v1/cs`, + target: `http://console.hippo4j.cn:6691/hippo4j/v1/cs`, changOrigin: true, secure: false, pathRewrite: {