|
@@ -142,14 +142,14 @@ export function useUser() {
|
|
|
const { status, info }: any = await http.Request({
|
|
|
url: UserUrl.User.userDelete.method,
|
|
|
method: UserUrl.User.userDelete.url,
|
|
|
- params: { SysAdminId: row.Id }
|
|
|
+ params: row.Id
|
|
|
});
|
|
|
if (status === "1") {
|
|
|
ElMessage({
|
|
|
message: "删除成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
- onSearch(ruleFormRef);
|
|
|
+ onSearch(ruleFormRef.value);
|
|
|
} else {
|
|
|
ElMessageBox.alert(info, "提示", {
|
|
|
confirmButtonText: "关闭",
|