mirror of
https://github.com/creativetimofficial/vue-material-kit.git
synced 2025-05-24 05:24:21 +08:00
Поиск с результатами
This commit is contained in:
parent
8ac10bf7a9
commit
4445a4c0e7
@ -33,7 +33,17 @@ const search = async () => {
|
||||
|
||||
<div>
|
||||
<h2>Найдено проектов: {{ searchResultProjects.length}} </h2>
|
||||
<div v-for = "project in searchResultProjects" :key="project.id">
|
||||
<h3>{{ project.title }}</h3>
|
||||
<p>{{ project.description }}</p>
|
||||
</div>
|
||||
<h2>Найдено людей: {{ searchResultUsers.length}} </h2>
|
||||
<div v-for = "user in searchResultUsers" :key="user.id">
|
||||
<h3>{{ user.username }}</h3>
|
||||
<p>{{ user.email }}</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user