File tree Expand file tree Collapse file tree 5 files changed +5
-18
lines changed Expand file tree Collapse file tree 5 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ const CConditionalTeleport = defineComponent({
19
19
* @since v5.0.0-beta.1
20
20
*/
21
21
container : {
22
- type : [ Object , String ] as PropType <
23
- HTMLElement | ( ( ) => HTMLElement ) | string
24
- > ,
22
+ type : [ Object , String ] as PropType < HTMLElement | ( ( ) => HTMLElement ) | string > ,
25
23
default : 'body' ,
26
24
} ,
27
25
/**
Original file line number Diff line number Diff line change @@ -65,9 +65,7 @@ const CDropdown = defineComponent({
65
65
* @since v5.0.0-beta.1
66
66
*/
67
67
container : {
68
- type : [ Object , String ] as PropType <
69
- HTMLElement | ( ( ) => HTMLElement ) | string
70
- > ,
68
+ type : [ Object , String ] as PropType < HTMLElement | ( ( ) => HTMLElement ) | string > ,
71
69
default : 'body' ,
72
70
} ,
73
71
/**
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const CSidebar = defineComponent({
96
96
const mobile = ref ( )
97
97
const visibleMobile = ref ( false )
98
98
const visibleDesktop = ref (
99
- props . visible !== undefined ? props . visible : props . overlaid ? false : true ,
99
+ props . visible === undefined ? ( props . overlaid ? false : true ) : props . visible ,
100
100
)
101
101
102
102
watch ( inViewport , ( ) => {
Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ const CTooltip = defineComponent({
26
26
* @since v5.0.0-beta.1
27
27
*/
28
28
container : {
29
- type : [ Object , String ] as PropType <
30
- HTMLElement | ( ( ) => HTMLElement ) | string
31
- > ,
29
+ type : [ Object , String ] as PropType < HTMLElement | ( ( ) => HTMLElement ) | string > ,
32
30
default : 'body' ,
33
31
} ,
34
32
/**
Original file line number Diff line number Diff line change 1
- /*
2
1
declare module '*.vue' {
3
- import type { DefineComponent } from 'vue'
2
+ import { DefineComponent } from 'vue'
4
3
const component : DefineComponent < { } , { } , any >
5
4
export default component
6
5
}
7
- */
8
- declare module '*.vue' {
9
- import { DefineComponent } from 'vue' ;
10
- const component : DefineComponent < { } , { } , any > ;
11
- export default component ;
12
- }
You can’t perform that action at this time.
0 commit comments