File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1515
1616<script setup lang="ts">
1717import { plusIcon } from ' @/constants/iconPath'
18- import type { TitleBar } from ' @/types/common'
18+ import type { TitleBarProps } from ' @/types/common'
1919import CommonIcons from ' ./common/CommonIcons.vue'
2020
21- const props = defineProps <TitleBar >()
21+ const props = defineProps <TitleBarProps >()
2222defineEmits ([' buttonClick' ])
2323 </script >
Original file line number Diff line number Diff line change 7474
7575<script setup lang="ts">
7676import { dropdownIcon } from ' @/constants/iconPath'
77- import type { Category , FilterCategory } from ' @/types/common'
77+ import type { Category , FilterCategoryProps } from ' @/types/common'
7878import { computed , ref , watchEffect } from ' vue'
7979import CommonIcons from ' ../common/CommonIcons.vue'
8080
81- const { categoryList, main, sub } = defineProps <FilterCategory >()
81+ const { categoryList, main, sub } = defineProps <FilterCategoryProps >()
8282const emit = defineEmits ([' update:main' , ' update:sub' ])
8383
8484const isMainOpened = ref (false )
Original file line number Diff line number Diff line change 11import type { Ref } from 'vue'
22
3- export interface TitleBar {
3+ export interface TitleBarProps {
44 title : string
55 btn ?: string
66}
@@ -23,7 +23,7 @@ export interface Category {
2323 subCategoryList ?: { id : number ; content : string } [ ]
2424}
2525
26- export interface FilterCategory {
26+ export interface FilterCategoryProps {
2727 categoryList : Category [ ]
2828 main : Ref < number [ ] > | number [ ]
2929 sub : Ref < number [ ] > | number [ ]
@@ -41,6 +41,6 @@ export interface ListBarTabProps {
4141 content : string
4242 width ?: number
4343 sortBy ?: string
44- currentOrderRequest : { sortBy : string ; sortDirection : 'DESC' | 'ASC' }
44+ currentOrderRequest ? : { sortBy : string ; sortDirection : 'DESC' | 'ASC' }
4545 justifyCenter ?: boolean
4646}
You can’t perform that action at this time.
0 commit comments