mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 03:15:58 +02:00
enhance(frontend): IDにUUIDを使うのをやめる (#16138)
* wip * Update flash-edit.vue
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
import { ref, defineAsyncComponent } from 'vue';
|
||||
import { Interpreter, Parser, utils, values } from '@syuilo/aiscript';
|
||||
import { compareVersions } from 'compare-versions';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { genId } from '@/utility/id.js';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { aiScriptReadline, createAiScriptEnv } from '@/aiscript/api.js';
|
||||
import { store } from '@/store.js';
|
||||
@@ -135,7 +135,7 @@ export async function installPlugin(code: string, meta?: AiScriptPluginMeta) {
|
||||
throw new Error('Plugin already installed');
|
||||
}
|
||||
|
||||
const installId = uuid();
|
||||
const installId = genId();
|
||||
|
||||
const plugin = {
|
||||
...realMeta,
|
||||
|
||||
Reference in New Issue
Block a user