[新增地址管理模块]

This commit is contained in:
2021-09-16 11:26:45 +08:00
parent c95401abc5
commit 6946d6bc82
169 changed files with 34400 additions and 1377 deletions

7
node_modules/uview-ui/libs/function/randomArray.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
// 打乱数组
function randomArray(array = []) {
// 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
return array.sort(() => Math.random() - 0.5);
}
export default randomArray