This commit is contained in:
xrkffgg
2020-12-23 15:04:14 +08:00
parent 38075b9ab1
commit e883da7b6b
8 changed files with 7284 additions and 110 deletions

15
src/util.js Normal file
View File

@@ -0,0 +1,15 @@
function dealInput (para) {
let arr = [];
if (para) {
if (typeof(para) === 'string') {
arr.push(para);
} else {
arr = para;
}
}
return arr;
};
module.exports = {
dealInput,
};