mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2026-05-29 00:00:06 +08:00
add node_modules
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
module.exports = function (val) {
|
||||
if (val === null || val === undefined) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return Array.isArray(val) ? val : [val];
|
||||
};
|
||||
Reference in New Issue
Block a user