...
|
...
|
@@ -49,7 +49,9 @@ export default { |
|
|
}
|
|
|
};
|
|
|
},
|
|
|
created() {},
|
|
|
created() {
|
|
|
this.UserService = new UserService();
|
|
|
},
|
|
|
methods: {
|
|
|
handleSubmit(name) {
|
|
|
this.$refs[name].validate((valid) => {
|
...
|
...
|
@@ -63,7 +65,7 @@ export default { |
|
|
update(user, password) {
|
|
|
this.loading = true;
|
|
|
|
|
|
UserService.update({
|
|
|
this.UserService.update({
|
|
|
account: user,
|
|
|
password: password
|
|
|
}).then(ret => {
|
...
|
...
|
|