This commit is contained in:
Viet An
2026-05-25 15:23:12 +07:00
parent 5f2a98977b
commit 6685a43360
48 changed files with 732 additions and 2901 deletions

View File

@@ -104,7 +104,10 @@ export default {
methods: {
async changePassword() {
if (!this.checkPassword()) return;
let user = await this.$getdata("user", undefined, { filter: { id: this.row.id } }, true);
let user = await this.$getdata("user", {
first: true,
params: { filter: { id: this.row.id } },
});
let rs = await this.$insertapi("gethash", { text: this.password });
user.password = rs.rows[0];
let rs1 = await this.$updateapi("user", user);