fix: doInsertCustomCSS

This commit is contained in:
haitao(lj)
2022-12-18 03:13:07 +08:00
parent 5a4feb6ad9
commit a35fbe5f19
+1 -1
View File
@@ -7,7 +7,7 @@ import { SWRConfig } from 'swr';
import { toastStore, brandingStore, pageTagStore } from '@/stores';
import { Header, Footer, Toast, Customize, CustomizeTheme } from '@/components';
const doInsertCustomCSS = !document.querySelector('link[href="/custom.css"]');
const doInsertCustomCSS = !document.querySelector('link[href*="custom.css"]');
const Layout: FC = () => {
const { msg: toastMsg, variant, clear: toastClear } = toastStore();
const closeToast = () => {