Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
Details
Activity
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
张冬
web-site
Commits
bc7f9688
Commit
bc7f9688
authored
Sep 21, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退出
parent
cc6ff2b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
header.vue
components/header.vue
+1
-1
index.vue
pages/index/index.vue
+1
-1
No files found.
components/header.vue
View file @
bc7f9688
...
...
@@ -32,7 +32,7 @@
console
.
log
(
'1111'
)
}
else
{
this
.
showDefault
=
false
this
.
userName
=
window
.
localStorage
.
getItem
(
"
companyName
"
)
this
.
userName
=
window
.
localStorage
.
getItem
(
"
userInfo
"
)
}
},
data
()
{
...
...
pages/index/index.vue
View file @
bc7f9688
...
...
@@ -15,7 +15,7 @@
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button"
>
商家入驻
</div>
<div
class=
"login-button"
@
click=
"checkout"
>
退出
</div>
<div
class=
"login-button"
@
click=
"checkout"
v-show=
"!showDefault"
>
退出
</div>
</div>
</div>
<div
class=
"content message"
>
...
...
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