更新
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user