replace scope attributes by slot-scope
This commit is contained in:
parent
d4e43e0e26
commit
fe7766bc61
6 changed files with 8 additions and 8 deletions
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<div v-else class="panel-body">
|
||||
<List :items="users">
|
||||
<template slot="item" scope="p">
|
||||
<template slot="item" slot-scope="p">
|
||||
<FollowCard :user="p.item" />
|
||||
</template>
|
||||
</List>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue