更新设置密码

This commit is contained in:
yziiy
2025-10-10 18:26:28 +08:00
parent 9cf6502893
commit 2016e627e2
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
export const URL = "https://my.qixing2.top";
// http://md.xscmmidi.site 正式
// http://tmd.xscmmidi.site 测试
// 声网appId 在这里换
export const appIdBySw = 'b48912a0b10d48f88be7ac5ee8675a6b'

View File

@@ -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();