diff --git a/src/stores/flow/index.ts b/src/stores/flow/index.ts index 030ff18a..e0773d80 100644 --- a/src/stores/flow/index.ts +++ b/src/stores/flow/index.ts @@ -1,14 +1,15 @@ import { ref } from 'vue'; +import { v4 as uuid } from 'uuid'; import { defineStore } from 'pinia'; const useFlowStore = defineStore('flow', () => { - const rtid = ref(crypto.randomUUID()); + const rtid = ref(uuid()); return { rtid, rotate() { - rtid.value = crypto.randomUUID(); + rtid.value = uuid(); }, }; });