Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
quasar-web-base
Commits
80cea33e
Commit
80cea33e
authored
May 04, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create logout
parent
da2dac99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
MainLayout.vue
src/layouts/MainLayout.vue
+16
-1
Index.vue
src/pages/Index.vue
+2
-2
No files found.
src/layouts/MainLayout.vue
View file @
80cea33e
...
@@ -18,7 +18,22 @@
...
@@ -18,7 +18,22 @@
fit=
"contain"
fit=
"contain"
:ratio=
"16 / 9"
:ratio=
"16 / 9"
/></q-toolbar-title>
/></q-toolbar-title>
<q-btn
flat
round
dense
icon=
"mdi-account-circle-outline"
/>
<q-space></q-space>
<q-btn
flat
round
icon=
"mdi-account-circle-outline"
>
<q-menu
auto-close
:offset=
"[110, 0]"
>
<q-list
style=
"min-width: 150px"
>
<q-item
clickable
@
click=
"$store.dispatch('authentication/logOut')"
>
<q-item-section>
Đăng xuất
</q-item-section>
<q-item-section
avatar
>
<q-icon
name=
"mdi-logout-variant"
/>
</q-item-section>
</q-item>
</q-list>
</q-menu>
</q-btn>
</q-toolbar>
</q-toolbar>
</q-header>
</q-header>
...
...
src/pages/Index.vue
View file @
80cea33e
<
template
>
<
template
>
<q-page
class=
"row items-center justify-evenly"
>
<q-page
class=
"row items-center justify-evenly"
>
<q-btn
color=
"primary"
@
click=
"$store.dispatch('authentication/logOut')"
<
!--
<
q-btn
color=
"primary"
@
click=
"$store.dispatch('authentication/logOut')"
>
Logout
</q-btn
>
Logout
</q-btn
>
>
-->
</q-page>
</q-page>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment