File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 52
52
" https://plugins.dprint.dev/g-plane/markup_fmt-v0.23.0.wasm" ,
53
53
" https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm"
54
54
]
55
- }
55
+ }
Original file line number Diff line number Diff line change @@ -93,4 +93,4 @@ const emits = defineEmits<{
93
93
margin-top : -1em ;
94
94
overflow-y : auto ;
95
95
}
96
- </style >
96
+ </style >
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ const Wrapper = defineComponent({
25
25
:class =" { active: modelValue === mode }"
26
26
v-for =" (tabText, mode) in modeText"
27
27
@click =" switchTab(mode)"
28
+ :key =" mode"
28
29
>
29
30
{{ tabText }}
30
31
</a >
@@ -33,7 +34,7 @@ const Wrapper = defineComponent({
33
34
</div >
34
35
</div >
35
36
<div class =" tab-content" >
36
- <template v-for =" (_ , mode ) in modeText " >
37
+ <template v-for =" (_ , mode ) in modeText " : key = " mode " >
37
38
<transition >
38
39
<keep-alive >
39
40
<Wrapper class =" content-wrapper" v-if =" modelValue === mode" >
You can’t perform that action at this time.
0 commit comments