北斗短报文通信服务平台
This commit is contained in:
8
app/middleware/utils/arrTotalItem.js
Normal file
8
app/middleware/utils/arrTotalItem.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// 将数组中的所有元素按下标顺序拼接成字符串
|
||||
module.exports = (arr) => {
|
||||
let total = '';
|
||||
arr.forEach(element => {
|
||||
total = total + element;
|
||||
});
|
||||
return total;
|
||||
};
|
||||
Reference in New Issue
Block a user