File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed
examples/sites/demos/apis
packages/vue/src/popeditor/src Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,36 @@ export default {
444
444
] ,
445
445
methods : [ ] ,
446
446
slots : [
447
+ {
448
+ name : 'title-selection' ,
449
+ defaultValue : '' ,
450
+ desc : {
451
+ 'zh-CN' : '已选择数据标题插槽' ,
452
+ 'en-US' : ''
453
+ } ,
454
+ mode : [ 'pc' ] ,
455
+ pcDemo : ''
456
+ } ,
457
+ {
458
+ name : 'title-history' ,
459
+ defaultValue : '' ,
460
+ desc : {
461
+ 'zh-CN' : '历史数据标题插槽' ,
462
+ 'en-US' : ''
463
+ } ,
464
+ mode : [ 'pc' ] ,
465
+ pcDemo : ''
466
+ } ,
467
+ {
468
+ name : 'title-source' ,
469
+ defaultValue : '' ,
470
+ desc : {
471
+ 'zh-CN' : '所有数据标题插槽' ,
472
+ 'en-US' : ''
473
+ } ,
474
+ mode : [ 'pc' ] ,
475
+ pcDemo : ''
476
+ } ,
447
477
{
448
478
name : 'footer' ,
449
479
defaultValue : '' ,
Original file line number Diff line number Diff line change 151
151
'tiny-popeditor__tabs-selected': state.activeName === 'history'
152
152
}"
153
153
>
154
- <span >{{ t('ui.popeditor.historyLists') }}</span >
154
+ <slot name =" title-history" >
155
+ <span >{{ t('ui.popeditor.historyLists') }}</span >
156
+ </slot >
155
157
</li >
156
158
<li
157
159
@click =" state.activeName = 'source'"
158
160
:class =" {
159
161
'tiny-popeditor__tabs-selected': state.activeName === 'source'
160
162
}"
161
163
>
162
- <span >{{ t('ui.popeditor.sourceLists') }}</span >
164
+ <slot name =" title-source" >
165
+ <span >{{ t('ui.popeditor.sourceLists') }}</span >
166
+ </slot >
163
167
</li >
164
168
</ul >
165
169
</div >
227
231
<div class =" tiny-popeditor__tabs-head" >
228
232
<ul >
229
233
<li class =" tiny-popeditor__tabs-selected" >
230
- <span >{{ t('ui.popeditor.selectionLists') }}</span >
234
+ <slot name =" title-selection" >
235
+ <span >{{ t('ui.popeditor.selectionLists') }}</span >
236
+ </slot >
231
237
</li >
232
238
</ul >
233
239
</div >
You can’t perform that action at this time.
0 commit comments