Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
h5-baby
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
malin
h5-baby
Commits
93aefe04
Commit
93aefe04
authored
Apr 02, 2021
by
malin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
d16baaf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
index.vue
src/views/Result/index.vue
+9
-2
No files found.
src/views/Result/index.vue
View file @
93aefe04
...
...
@@ -172,13 +172,21 @@ export default {
};
API
.
API_fetchName
(
params
).
then
((
res
)
=>
{
if
(
res
.
result
.
data
==
null
)
{
setTimeout
(()
=>
{
this
.
counter
+=
1
;
if
(
this
.
counter
>=
80
)
{
return
;
}
else
{
return
this
.
_fetchName
();
}
},
2000
);
return
;
}
this
.
nameList
=
res
.
result
.
data
;
if
(
this
.
nameList
.
length
==
0
)
{
setTimeout
(()
=>
{
this
.
counter
+=
1
;
if
(
this
.
counter
>=
3
0
)
{
if
(
this
.
counter
>=
8
0
)
{
return
;
}
else
{
return
this
.
_fetchName
();
...
...
@@ -190,7 +198,6 @@ export default {
// 但双字切换
convertImg
(
item
)
{
console
.
log
(
item
);
this
.
page
=
1
;
this
.
words
=
item
.
words
;
this
.
imgInfo
.
map
((
option
)
=>
{
...
...
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