mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2025-08-23 16:14:51 +00:00
持久化导入导出支持
This commit is contained in:
@@ -5,7 +5,7 @@ import { useFilesStore } from './useStore'
|
||||
let id = 0
|
||||
|
||||
function getId() {
|
||||
return `dndnode_${id++}`
|
||||
return `dndnode_${Date.now()}_${Math.floor(Math.random() * 10000)}`;
|
||||
}
|
||||
|
||||
const state = {
|
||||
|
Reference in New Issue
Block a user