fix: update

This commit is contained in:
xiaoxian521
2022-07-27 21:10:36 +08:00
parent c7955bcc19
commit 0d4fe313b4
9 changed files with 175 additions and 169 deletions

View File

@@ -1,6 +1,6 @@
import { getConfig } from "/@/config";
import { find } from "lodash-unified";
import useLayout from "./useLayout";
import { useLayout } from "./useLayout";
import { themeColorsType } from "../types";
import { TinyColor } from "@ctrl/tinycolor";
import { ref, getCurrentInstance } from "vue";
@@ -12,7 +12,7 @@ import {
toggleTheme
} from "@pureadmin/theme/dist/browser-utils";
export default function useDataThemeChange() {
export function useDataThemeChange() {
const { layoutTheme } = useLayout();
const themeColors = ref<Array<themeColorsType>>([
/* 道奇蓝(默认) */