mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
chore: update dependencies
This commit is contained in:
@@ -4,7 +4,7 @@ import { useDark, useECharts, type EchartOptions } from "@pureadmin/utils";
|
||||
|
||||
const { isDark } = useDark();
|
||||
|
||||
let theme: EchartOptions["theme"] = computed(() => {
|
||||
const theme: EchartOptions["theme"] = computed(() => {
|
||||
return isDark.value ? "dark" : "light";
|
||||
});
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import SeamlessScroll from "@/components/ReSeamlessScroll";
|
||||
|
||||
const scroll = templateRef<ElRef | null>("scroll", null);
|
||||
|
||||
let listData = ref([
|
||||
const listData = ref([
|
||||
{
|
||||
date: "2021-09-01",
|
||||
name: "vue-pure-admin",
|
||||
@@ -58,7 +58,7 @@ let listData = ref([
|
||||
}
|
||||
]);
|
||||
|
||||
let classOption = reactive({
|
||||
const classOption = reactive({
|
||||
direction: "top"
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useDark, useECharts, type EchartOptions } from "@pureadmin/utils";
|
||||
|
||||
const { isDark } = useDark();
|
||||
|
||||
let theme: EchartOptions["theme"] = computed(() => {
|
||||
const theme: EchartOptions["theme"] = computed(() => {
|
||||
return isDark.value ? "dark" : "light";
|
||||
});
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useDark, useECharts, type EchartOptions } from "@pureadmin/utils";
|
||||
|
||||
const { isDark } = useDark();
|
||||
|
||||
let theme: EchartOptions["theme"] = computed(() => {
|
||||
const theme: EchartOptions["theme"] = computed(() => {
|
||||
return isDark.value ? "dark" : "light";
|
||||
});
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@ defineOptions({
|
||||
});
|
||||
|
||||
const date: Date = new Date();
|
||||
let loading = ref<boolean>(true);
|
||||
const loading = ref<boolean>(true);
|
||||
|
||||
setTimeout(() => {
|
||||
loading.value = !loading.value;
|
||||
}, 800);
|
||||
|
||||
let greetings = computed(() => {
|
||||
const greetings = computed(() => {
|
||||
if (date.getHours() >= 0 && date.getHours() < 12) {
|
||||
return "上午阳光明媚,祝你薪水翻倍🌞!";
|
||||
} else if (date.getHours() >= 12 && date.getHours() < 18) {
|
||||
|
||||
Reference in New Issue
Block a user