mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 标记分组预览时候的ID
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ export const isDev = () => {
|
||||
* @param { Number } randomLength
|
||||
*/
|
||||
export const getUUID = (randomLength = 10) => {
|
||||
return Number(Math.random().toString().substring(2, randomLength) + Date.now()).toString(36)
|
||||
return 'id_' + Number(Math.random().toString().substring(2, randomLength) + Date.now()).toString(36)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user