mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
完成拖动排序
This commit is contained in:
@@ -2425,6 +2425,16 @@
|
||||
} else {
|
||||
replaceCallback(code);
|
||||
}
|
||||
},
|
||||
randdomString(len) {
|
||||
len = len || 32;
|
||||
var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
|
||||
var maxPos = $chars.length;
|
||||
var pwd = '';
|
||||
for (var i = 0; i < len; i++) {
|
||||
pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
|
||||
}
|
||||
return pwd;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user