chore: update dependencies

This commit is contained in:
xiaoxian521
2022-11-11 03:36:18 +08:00
parent c4839aa5f4
commit df71c7f75c
50 changed files with 1229 additions and 945 deletions

View File

@@ -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";
});

View File

@@ -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>

View File

@@ -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";
});

View File

@@ -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";
});

View File

@@ -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) {