更新设置密码
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
export const URL = "https://my.qixing2.top";
|
export const URL = "https://my.qixing2.top";
|
||||||
// http://md.xscmmidi.site 正式
|
|
||||||
// http://tmd.xscmmidi.site 测试
|
|
||||||
// 声网appId 在这里换
|
// 声网appId 在这里换
|
||||||
export const appIdBySw = 'b48912a0b10d48f88be7ac5ee8675a6b'
|
export const appIdBySw = 'b48912a0b10d48f88be7ac5ee8675a6b'
|
||||||
@@ -159,8 +159,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