const sku = require('zhf.sku');
sku([
['a', 'b', 'c'], // 一级规格
[1, 2, 3], // 二级规格
['77', '88', '99'], // 三级规格
]);
/*
[
['a', 1, '77'],
['a', 1, '88'],
['a', 1, '99'],
['a', 2, '77'],
['a', 2, '88'],
['a', 2, '99'],
['a', 3, '77'],
['a', 3, '88'],
['a', 3, '99'],
['b', 1, '77'],
['b', 1, '88'],
['b', 1, '99'],
['b', 2, '77'],
['b', 2, '88'],
['b', 2, '99'],
['b', 3, '77'],
['b', 3, '88'],
['b', 3, '99'],
['c', 1, '77'],
['c', 1, '88'],
['c', 1, '99'],
['c', 2, '77'],
['c', 2, '88'],
['c', 2, '99'],
['c', 3, '77'],
['c', 3, '88'],
['c', 3, '99'],
]
*/
-
Notifications
You must be signed in to change notification settings - Fork 0
zhouhuafei/zhf.sku
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published