fix: 编写拖拽信息

This commit is contained in:
MTrun
2022-01-24 21:12:18 +08:00
parent 08a24b9e3c
commit bb7aa78738
15 changed files with 117 additions and 32 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import debounce from 'lodash/debounce'
* * 生成一个不重复的ID
* @param { Number } randomLength
*/
export function getUUID(randomLength: number) {
export function getUUID(randomLength: number = 10) {
return Number(
Math.random().toString().substr(2, randomLength) + Date.now()
).toString(36)