fix: add os platform value

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

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();