fix: add os platform value

This commit is contained in:
GyDi committed 2023-01-14 12:07:31 +08:00
1 parent 4642b79b5b
commit ab161a42ee
4 files changed
+23 -6

No files matched your search

-4
View File
@@ -24,10 +24,6 @@ import useCustomTheme from "@/components/layout/use-custom-theme";
import getSystem from "@/utils/get-system";
import "dayjs/locale/zh-cn";
declare global {
const WIN_PORTABLE: boolean;
}
dayjs.extend(relativeTime);
const OS = getSystem();