新增分销商模块(6个表)

This commit is contained in:
2024-07-28 19:08:54 +08:00
parent c308cb739e
commit 15d80388b4

View File

@@ -154,7 +154,9 @@
const formData = {
...form
};
const saveOrUpdate = isUpdate.value ? updateMerchantType : addMerchantType;
const saveOrUpdate = isUpdate.value
? updateMerchantType
: addMerchantType;
saveOrUpdate(formData)
.then((msg) => {
loading.value = false;
@@ -182,7 +184,7 @@
uid: uuid(),
url: props.data.image,
status: 'done'
})
});
}
isUpdate.value = true;
} else {