add comment in save()
This commit is contained in:
parent
85ebecab4d
commit
b50df3400a
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue