mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-26 00:54:06 +02:00
refactor(frontend): ID生成処理を統一
This commit is contained in:
@@ -84,6 +84,7 @@ import { useStream } from '@/stream.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { definePage } from '@/page.js';
|
||||
import MkFoldableSection from '@/components/MkFoldableSection.vue';
|
||||
import { genId } from '@/utility/id.js';
|
||||
|
||||
const rootEl = useTemplateRef('rootEl');
|
||||
const serverInfo = ref<Misskey.entities.ServerInfoResponse | null>(null);
|
||||
@@ -170,7 +171,7 @@ onMounted(async () => {
|
||||
|
||||
nextTick(() => {
|
||||
queueStatsConnection.send('requestLog', {
|
||||
id: Math.random().toString().substring(2, 10),
|
||||
id: genId(),
|
||||
length: 100,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user