chore: rename scopedSlots to slots in legacy cases

This commit is contained in:
chenjiahan
2020-11-14 06:47:08 +08:00
parent bea039c810
commit 2550ac9111
21 changed files with 41 additions and 41 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ test('render prev-text & next-text slot', () => {
totalItems: 50,
showPageSize: 5,
},
scopedSlots: {
slots: {
'prev-text': () => 'Custom PrevText',
'next-text': () => 'Custom NextText',
},
@@ -22,7 +22,7 @@ test('render page slot', () => {
totalItems: 50,
showPageSize: 5,
},
scopedSlots: {
slots: {
page: ({ text }) => `${text}`,
},
});