|
@@ -215,6 +215,7 @@ export default {
|
|
|
this.$router.push(path);
|
|
|
},
|
|
|
submitForm(formName) {
|
|
|
+ debugger
|
|
|
this.$refs[formName];
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
@@ -292,7 +293,7 @@ export default {
|
|
|
},
|
|
|
];
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.api + "updatePassword", params)
|
|
|
+ .post(this.$store.state.api + "updatePassword1", params)
|
|
|
.then((res) => {
|
|
|
if (res.data[0] && res.data[0].success == 1) {
|
|
|
this.$message.success("修改成功");
|