fix: 店铺安全设置校验安全密码保存时剔除无用参数

This commit is contained in:
YeMingfei666 2025-03-19 15:17:55 +08:00
parent cae90224a8
commit 47442a52fb
1 changed files with 1 additions and 2 deletions

View File

@ -97,9 +97,8 @@ export default {
async submitHandles() {
const res = await ShopApi.edit({
// code: this.form.prepareAmount,
// id: this.form.id,
id: this.form.id,
// status:this.form.status,
...this.form,
isReturnPwd: this.form.isReturnPwd == true ? 1 : 0,
isMemberInPwd: this.form.isMemberInPwd == true ? 1 : 0,
isMemberReturnPwd: this.form.isMemberReturnPwd == true ? 1 : 0,