Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
poster
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
刘续中
poster
Commits
164e02a2
Commit
164e02a2
authored
Jun 22, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update aonweb
parent
a8fc686d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
Header.vue
src/components/Header.vue
+0
-5
Index.vue
src/views/Index.vue
+0
-2
No files found.
src/components/Header.vue
View file @
164e02a2
...
...
@@ -65,11 +65,6 @@ const balance = async () => {
console
.
log
(
"
Header balanceValue.value
"
,
balanceValue
.
value
)
};
// const handleBalance = (message) => {
// console.log("handleBalance",message)
// balance()
// }
bus
.
on
(
'
get_balance
'
,
(
data
)
=>
{
console
.
log
(
"
get_balance
"
,
data
)
balance
()
...
...
src/views/Index.vue
View file @
164e02a2
...
...
@@ -192,7 +192,6 @@ const formSubmit = async () => {
let
price
=
10
let
response
=
await
aonet
.
prediction
(
"
/predictions/ai/pulid
"
,
data
,
price
)
console
.
log
(
"
test
"
,
response
)
bus
.
emit
(
'
get_balance
'
,
"
prediction
"
);
if
(
response
&&
response
.
code
==
200
&&
response
.
data
)
{
response
=
response
.
data
}
...
...
@@ -245,7 +244,6 @@ async function login() {
console
.
log
(
"
getWeb3 userId
"
,
userId
)
console
.
log
(
"
getWeb3 error
"
,
error
)
bus
.
emit
(
'
get_balance
'
,
"
login
"
);
// eventBus.config.globalProperties.$emit('balance');
})
}
bus
.
emit
(
'
get_balance
'
,
"
login
"
);
...
...
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