Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
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
chenqikuai
fns_front_2
Commits
93b04b06
Commit
93b04b06
authored
Oct 19, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:避免查询空uuid
parent
2ef4f9e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
index.vue
src/views/withMenu/Home/index.vue
+12
-10
No files found.
src/views/withMenu/Home/index.vue
View file @
93b04b06
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
/>
/>
<Skeleton
:loading=
"skeLoading"
:row=
"3"
class=
"mt-2"
>
<Skeleton
:loading=
"skeLoading"
:row=
"3"
class=
"mt-2"
>
<LoanCard
<LoanCard
v-if=
"product_name"
:max_amount=
"max_amount"
:max_amount=
"max_amount"
:product_name=
"product_name"
:product_name=
"product_name"
:features=
"features"
:features=
"features"
...
@@ -187,16 +188,17 @@ export default defineComponent({
...
@@ -187,16 +188,17 @@ export default defineComponent({
this
.
skeLoading
=
false
;
this
.
skeLoading
=
false
;
this
.
hotLoanUuid
=
ret
.
data
.
uuid
[
0
];
this
.
hotLoanUuid
=
ret
.
data
.
uuid
[
0
];
const
uuid
=
this
.
hotLoanUuid
;
const
uuid
=
this
.
hotLoanUuid
;
queryLoanProductInfo
({
uuid
}).
then
((
ret
)
=>
{
if
(
uuid
){
console
.
log
(
"uuid"
,
uuid
);
queryLoanProductInfo
({
uuid
}).
then
((
ret
)
=>
{
console
.
log
(
"uuid"
,
uuid
);
if
(
ret
.
code
===
200
)
{
if
(
ret
.
code
===
200
)
{
this
.
max_amount
=
ret
.
data
.
max_amount
;
this
.
max_amount
=
ret
.
data
.
max_amount
;
this
.
inst_name
=
ret
.
data
.
inst_name
;
this
.
inst_name
=
ret
.
data
.
inst_name
;
this
.
product_name
=
ret
.
data
.
product_name
;
this
.
product_name
=
ret
.
data
.
product_name
;
this
.
features
=
ret
.
data
.
features
;
this
.
features
=
ret
.
data
.
features
;
}
}
});
});
}
}
}
},
},
},
},
...
...
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