From 5ece8b562f413932fca0878c5b425636a2261312 Mon Sep 17 00:00:00 2001 From: liushiwei <499672082@qq.com> Date: Tue, 5 Nov 2024 21:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 2 +- src/view/login/Forget.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index df645c0..030265f 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -4,7 +4,7 @@ import store from '@/store' var instance = axios.create({ - baseURL: process.env.NODE_ENV === 'production' ? 'http://temu.jjcp52.com' : 'http://124.71.2.127:10248', + baseURL: process.env.NODE_ENV === 'production' ? 'http://124.71.2.127:8888' : 'http://124.71.2.127:10248', timeout: 50000, validateStatus: function (status) { return status < 500 diff --git a/src/view/login/Forget.vue b/src/view/login/Forget.vue index b1ed9e1..ecb31c9 100644 --- a/src/view/login/Forget.vue +++ b/src/view/login/Forget.vue @@ -78,7 +78,7 @@ import CryptoJS from 'crypto-js' this.$refs.form.validate((valid) => { if (valid) { if (this.form.password != this.form.repassword) { - this.$message.success('两次密码输入不一致'); + this.$message.error('两次密码输入不一致'); return; } this.btnLoading = true