mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增图表独立配置混合
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ import throttle from 'lodash/throttle'
|
||||
* * 生成一个不重复的ID
|
||||
* @param { Number } randomLength
|
||||
*/
|
||||
export function getUUID(randomLength = 10) {
|
||||
export const getUUID = (randomLength = 10) =>{
|
||||
return Number(
|
||||
Math.random().toString().substr(2, randomLength) + Date.now()
|
||||
).toString(36)
|
||||
|
||||
Reference in New Issue
Block a user