chore: get random value

This commit is contained in:
xiaojunnuo
2023-06-28 22:10:52 +08:00
parent 68eb4198f1
commit f5493c542b
6 changed files with 31 additions and 23 deletions
+4
View File
@@ -6,6 +6,10 @@ import { IAccessService } from "../access";
import { IEmailService } from "../service";
import { IContext } from "../core";
import { AxiosInstance } from "axios";
//解决 uuid random-values not support 问题
// https://github.com/uuidjs/uuid#getrandomvalues-not-supported
import "react-native-get-random-values";
import { v4 as uuidv4 } from "uuid";
export enum ContextScope {
global,