fix: 取消测试删除价格失败

perf/export-docx
Jimmy Liow 11 months ago
parent 910c6c02af
commit 2f7184d837

@ -317,7 +317,7 @@ export const useProductsStore = create(
let promiseDelete = Promise.resolve(newQuotationList) let promiseDelete = Promise.resolve(newQuotationList)
if (isNotEmpty(quotationId)) { if (isNotEmpty(quotationId)) {
const { result, success } = await deleteQuotationAction('quotationId') const { result, success } = await deleteQuotationAction(quotationId)
if (!success) { if (!success) {
promiseDelete = Promise.reject(result) promiseDelete = Promise.reject(result)
} }

Loading…
Cancel
Save