首页
技术
登录
6mi
u
盘
搜
搜 索
技术
第一个then的值能传到第二个不
第一个then的值能传到第二个不
技术
2022-07-11
90
this
.
$http
(
{
url
:
**
*
,
method
:
'get'
,
params
:
{
'***'
:
**
*
,
'***'
:
**
*
}
}
)
.
then
(
(
{
data
}
)
=>
{
return
data
;
}
)
.
then
(
(
e
)
=>
{
debugger
;
console
.
log
(
e
)
}
)
注意:第一个then一定要有return,第二个才能接收到值
转载请注明原文地址:https://ipadbbs.8miu.com/read-16162.html
最新回复
(
0
)