Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ycc-website
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
ycc-website
Commits
ffecc817
Commit
ffecc817
authored
Mar 02, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f723ec17
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
chartsInAddr.vue
src/components/chartsInAddr.vue
+3
-0
AddressOverview.ts
src/mixin/componentsMixin/AddressOverview.ts
+11
-0
No files found.
src/components/chartsInAddr.vue
View file @
ffecc817
...
@@ -116,6 +116,9 @@ export default VueTypedMixins(chartsMixin).extend({
...
@@ -116,6 +116,9 @@ export default VueTypedMixins(chartsMixin).extend({
this
.
draw
()
this
.
draw
()
},
},
watch
:
{
watch
:
{
'$route.query.address'
()
{
this
.
draw
()
},
scale
()
{
scale
()
{
this
.
draw
()
this
.
draw
()
},
},
...
...
src/mixin/componentsMixin/AddressOverview.ts
View file @
ffecc817
...
@@ -11,6 +11,17 @@ export default Vue.extend({
...
@@ -11,6 +11,17 @@ export default Vue.extend({
value
:
0
,
value
:
0
,
};
};
},
},
watch
:
{
"$route.query.address"
()
{
this
.
getAddrOverview
();
this
.
init
();
getAddressTxCount
(
this
.
$route
.
query
.
address
as
string
).
then
((
ret
)
=>
{
if
(
ret
.
error
===
null
)
{
this
.
txCount
=
ret
.
result
;
}
});
},
},
mounted
()
{
mounted
()
{
this
.
getAddrOverview
();
this
.
getAddrOverview
();
this
.
init
();
this
.
init
();
...
...
chenqikuai
@chenqikuai
mentioned in commit
748f7ae1
·
Mar 03, 2022
mentioned in commit
748f7ae1
mentioned in commit 748f7ae18ac2f8eb14ee7c2865eaea786342a520
Toggle commit list
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