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

View File

@@ -45,7 +45,7 @@ test('change head content when pulling down', async () => {
test('custom content by slots', async () => {
const wrapper = mount(PullRefresh, {
scopedSlots: {
slots: {
pulling({ distance }) {
return `pulling ${distance}`;
},
@@ -137,7 +137,7 @@ test('render success text', async () => {
test('render success slot', async () => {
const wrapper = mount(PullRefresh, {
scopedSlots: {
slots: {
success: () => 'Custom Success',
},
listeners: {