This commit is contained in:
yziiy
2025-10-10 19:11:08 +08:00
parent 6131759745
commit 33bacae962

View File

@@ -160,8 +160,10 @@ export function useData() {
const FormRef = formRef.value.getRef(); const FormRef = formRef.value.getRef();
const curData = options.props.formInline; const curData = options.props.formInline;
const updatePassWord = async form => { const updatePassWord = async form => {
console.log(form) const { code } = await editData({
const { code } = await apiPassWord(form); password: form.new_pwd,
id: rowData.id
});
if (code) { if (code) {
message("设置成功", { type: "success" }); message("设置成功", { type: "success" });
onSearch(); onSearch();