We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ceb0a9 commit 98cf093Copy full SHA for 98cf093
README.md
@@ -497,7 +497,7 @@ const menuConfig = {
497
};
498
499
function createMenu(config) {
500
- config = Object.assign(
+ let finalConfig = Object.assign(
501
{
502
title: 'Foo',
503
body: 'Bar',
@@ -506,7 +506,7 @@ function createMenu(config) {
506
},
507
config
508
);
509
-
+ return finalConfig;
510
// config 現在等同於: {title: 'Order', body: 'Bar', buttonText: 'Send', cancellable: true}
511
// ...
512
}
0 commit comments