Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
poolin_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
acef61a2
authored
Feb 06, 2018
by
zhanghui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zhanghui' into 'develop'
解决组件命名address会报错 See merge request
!25
parents
87af4284
78aa23cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
src/components/Settings/Address.vue
+3
-4
src/router/index.js
+1
-1
No files found.
src/components/Settings/Address.vue
View file @
acef61a2
...
...
@@ -5,7 +5,6 @@
<div
class=
"c"
>
{{
query_coin_type
|
uppercase
}}
收益地址
</div>
</div>
<div
class=
"page-content bg-blue"
>
<!--
{{
puid
}}
{{
query_type
}}
{{
query_coin_type
}}
-->
<div
class=
"address"
>
<label>
当前收益地址
</label>
<div
class=
"mock-input"
>
{{
address
}}
</div>
...
...
@@ -17,10 +16,9 @@
<
script
>
import
fn
from
'@/utils/function.js'
export
default
{
name
:
'
a
ddress'
,
name
:
'
modifyA
ddress'
,
data
()
{
return
{
ttt
:
{},
address
:
''
,
}
},
...
...
@@ -42,12 +40,13 @@ export default {
getUser
()
{
fn
.
getUser
(
this
.
puid
).
then
(
res
=>
{
if
(
res
.
data
.
err_no
==
0
)
{
this
.
ttt
=
res
.
data
.
data
if
(
res
.
data
.
data
.
coins
.
hasOwnProperty
(
this
.
query_coin_type
))
{
this
.
address
=
res
.
data
.
data
.
coins
[
this
.
query_coin_type
].
address
}
else
{
this
.
address
=
'未设置'
}
}
else
{
this
.
$toast
(
"获取用户信息错误!"
)
}
})
}
...
...
src/router/index.js
View file @
acef61a2
...
...
@@ -114,7 +114,7 @@ const router = new Router({
}]
},{
path
:
'/address'
,
name
:
'
a
ddress'
,
name
:
'
modifyA
ddress'
,
component
:
resolve
=>
require
([
'@/components/Settings/Address.vue'
],
resolve
),
meta
:
{
title
:
'Address.vue'
...
...
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