chore(order): item update quantity (#8513)
This commit is contained in:
committed by
GitHub
parent
6efdfbc9a6
commit
91f07e1a59
@@ -3,6 +3,7 @@ export enum ChangeActionType {
|
||||
CANCEL_ITEM_FULFILLMENT = "CANCEL_ITEM_FULFILLMENT",
|
||||
ITEM_ADD = "ITEM_ADD",
|
||||
ITEM_REMOVE = "ITEM_REMOVE",
|
||||
ITEM_UPDATE = "ITEM_UPDATE",
|
||||
RECEIVE_DAMAGED_RETURN_ITEM = "RECEIVE_DAMAGED_RETURN_ITEM",
|
||||
RECEIVE_RETURN_ITEM = "RECEIVE_RETURN_ITEM",
|
||||
RETURN_ITEM = "RETURN_ITEM",
|
||||
|
||||
@@ -121,4 +121,12 @@ export class BigNumber implements IBigNumber {
|
||||
valueOf(): number {
|
||||
return this.numeric_
|
||||
}
|
||||
|
||||
[Symbol.toPrimitive](hint) {
|
||||
if (hint === "string") {
|
||||
return this.raw?.value
|
||||
}
|
||||
|
||||
return this.numeric_
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user