add comment in save()

This commit is contained in:
buzz-lightsnack-2007 2024-10-25 11:17:01 +08:00
parent 85ebecab4d
commit b50df3400a

View file

@ -51,6 +51,12 @@ export default class product {
};
}
/*
Save the product data to the storage.
@options {object} the options
@return {boolean} the status of the save
*/
async save(options = {}) {
// Set the default options.
options = Object.assign({}, this.#options, options);