init:初始化

master
HuangHuiKang 1 week ago
parent 8ffba0705c
commit 9c1a67af48

@ -68,6 +68,7 @@
<script setup lang="ts">
import { onMounted, ref, computed } from "vue";
import { storeToRefs } from "pinia";
import { useSettingsStore } from "@stores";
const settingStore = useSettingsStore();
const { isDark } = storeToRefs(settingStore);

@ -19,6 +19,8 @@
</template>
<script setup lang="ts">
import { useScroll } from "@vueuse/core";
import { onMounted, ref, watch } from "vue";
import { useCommon } from "@/hooks/core/useCommon";
defineOptions({ name: "FaBackToTop" });

@ -204,7 +204,7 @@ defineOptions({
inheritAttrs: false,
});
import { h, nextTick } from "vue";
import { h, nextTick, reactive } from "vue";
import { UserFilled } from "@element-plus/icons-vue";
import { ElAvatar } from "element-plus";
import { ResultEnum } from "@/enums/api/result.enum";

Loading…
Cancel
Save