diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts index f209d92..fee7116 100644 --- a/src/utils/http/config.ts +++ b/src/utils/http/config.ts @@ -1,5 +1,3 @@ export const URL = "https://my.qixing2.top"; -// http://md.xscmmidi.site 正式 -// http://tmd.xscmmidi.site 测试 // 声网appId 在这里换 export const appIdBySw = 'b48912a0b10d48f88be7ac5ee8675a6b' \ No newline at end of file diff --git a/src/views/Admin/userList/hook.tsx b/src/views/Admin/userList/hook.tsx index 78bf6fb..39727d9 100644 --- a/src/views/Admin/userList/hook.tsx +++ b/src/views/Admin/userList/hook.tsx @@ -159,8 +159,10 @@ export function useData() { const FormRef = formRef.value.getRef(); const curData = options.props.formInline; const updatePassWord = async form => { - console.log(form) - const { code } = await apiPassWord(form); + const { code } = await editData({ + password: form.new_pwd, + id: rowData.id + }); if (code) { message("设置成功", { type: "success" }); onSearch();