File tree 1 file changed +11
-5
lines changed 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 20
20
<v-switch
21
21
v-model =" showIndex"
22
22
label =" Show index"
23
- color =" indigo"
23
+ color =" indigo" hide-details
24
24
></v-switch >
25
25
<v-switch
26
26
v-model =" showType"
27
27
label =" Show type"
28
- color =" indigo"
28
+ color =" indigo" hide-details
29
29
></v-switch >
30
30
<v-switch
31
31
v-model =" cellLines"
32
32
label =" One cell one line (better for long text)"
33
- color =" indigo"
33
+ color =" indigo" hide-details
34
34
></v-switch >
35
35
<v-radio-group v-model =" outputFormat" >
36
+ <template v-slot :label >
37
+ <div >Diff display type</div >
38
+ </template >
36
39
<v-radio :value =" 'line-by-line'" label =" Line by line" color =" indigo" ></v-radio >
37
40
<v-radio :value =" 'side-by-side'" label =" Side by side" color =" indigo" ></v-radio >
38
41
</v-radio-group >
42
+ <v-text-field v-model =" expandLines" type =" number" label =" Expand lines" ></v-text-field >
39
43
</v-flex >
40
44
<v-flex v-else >
41
45
<div class =" v-subheader pa-0" >Treeview Diff Option</div >
92
96
showIndex: true ,
93
97
showType: false ,
94
98
cellLines: false ,
95
- outputFormat: ' line-by-line'
99
+ outputFormat: ' line-by-line' ,
100
+ expandLines: 0
96
101
}
97
102
},
98
103
created () {
114
119
new: new_id,
115
120
show_index: this .showIndex ,
116
121
show_type: this .showType ,
117
- cell_lines: this .cellLines
122
+ cell_lines: this .cellLines ,
123
+ expand_lines: this .expandLines
118
124
}
119
125
}).then (response => {
120
126
// console.log(response.data);
You can’t perform that action at this time.
0 commit comments