changes
This commit is contained in:
@@ -108,7 +108,7 @@ export default {
|
||||
first: true,
|
||||
params: { filter: { id: this.row.id } },
|
||||
});
|
||||
let rs = await this.$insertapi("gethash", { text: this.password });
|
||||
let rs = await this.$insertapi("gethash", { data: { text: this.password } });
|
||||
user.password = rs.rows[0];
|
||||
let rs1 = await this.$updateapi("user", user);
|
||||
if (rs1 !== "error") this.$emit("close");
|
||||
|
||||
Reference in New Issue
Block a user