调整
This commit is contained in:
@@ -4,7 +4,7 @@ import store from '@/store'
|
|||||||
|
|
||||||
|
|
||||||
var instance = axios.create({
|
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,
|
timeout: 50000,
|
||||||
validateStatus: function (status) {
|
validateStatus: function (status) {
|
||||||
return status < 500
|
return status < 500
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ import CryptoJS from 'crypto-js'
|
|||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.password != this.form.repassword) {
|
if (this.form.password != this.form.repassword) {
|
||||||
this.$message.success('两次密码输入不一致');
|
this.$message.error('两次密码输入不一致');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.btnLoading = true
|
this.btnLoading = true
|
||||||
|
|||||||
Reference in New Issue
Block a user