chore: update

This commit is contained in:
xiaoxian521 2024-05-09 21:43:20 +08:00
parent de00537fdd
commit 30f598dfa5
7 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import { ref, PropType, nextTick } from "vue";
import { useNav } from "@/layout/hooks/useNav"; import { useNav } from "@/layout/hooks/useNav";
import { deviceDetection } from "@pureadmin/utils"; import { deviceDetection } from "@pureadmin/utils";
const props = defineProps({ defineProps({
noticeItem: { noticeItem: {
type: Object as PropType<ListItem>, type: Object as PropType<ListItem>,
default: () => {} default: () => {}

View File

@ -6,7 +6,7 @@ import EnterOutlined from "@/assets/svg/enter_outlined.svg?component";
import ArrowUpLine from "@iconify-icons/ri/arrow-up-line"; import ArrowUpLine from "@iconify-icons/ri/arrow-up-line";
import ArrowDownLine from "@iconify-icons/ri/arrow-down-line"; import ArrowDownLine from "@iconify-icons/ri/arrow-down-line";
const props = withDefaults(defineProps<{ total: number }>(), { withDefaults(defineProps<{ total: number }>(), {
total: 0 total: 0
}); });

View File

@ -10,7 +10,7 @@ interface Props {
isActive: boolean; isActive: boolean;
} }
const props = withDefaults(defineProps<Props>(), { withDefaults(defineProps<Props>(), {
isActive: false isActive: false
}); });

View File

@ -2,7 +2,7 @@
import { toRaw } from "vue"; import { toRaw } from "vue";
import { useRenderIcon } from "@/components/ReIcon/src/hooks"; import { useRenderIcon } from "@/components/ReIcon/src/hooks";
const props = defineProps({ defineProps({
extraIcon: { extraIcon: {
type: String, type: String,
default: "" default: ""

View File

@ -10,7 +10,7 @@ interface Props {
isActive: boolean; isActive: boolean;
} }
const props = withDefaults(defineProps<Props>(), { withDefaults(defineProps<Props>(), {
isActive: false isActive: false
}); });

View File

@ -2,7 +2,7 @@
import { getTopMenu } from "@/router/utils"; import { getTopMenu } from "@/router/utils";
import { useNav } from "@/layout/hooks/useNav"; import { useNav } from "@/layout/hooks/useNav";
const props = defineProps({ defineProps({
collapse: Boolean collapse: Boolean
}); });

View File

@ -7,7 +7,7 @@ interface Props {
isActive: boolean; isActive: boolean;
} }
const props = withDefaults(defineProps<Props>(), { withDefaults(defineProps<Props>(), {
isActive: false isActive: false
}); });