amis icon indicating copy to clipboard operation
amis copied to clipboard

点击button按钮传参并根据返回url跳转新页面

Open qinaidetonggege opened this issue 6 years ago • 2 comments

"type": "button", "label": "查看", "actionType": "ajax", "api":"/api/spu/getDetailUrl?spuId=${spuId}&cateCode=${cateCode}", "redirect":"${payload.data.url}",

redirect获取不到url

qinaidetonggege avatar Aug 18 '20 12:08 qinaidetonggege

试试"redirect":"${url}"

还有希望可以按照issue template来提问,而不是一把删了模板自己写,谢谢😁

RickCole21 avatar Aug 18 '20 12:08 RickCole21

好的,redirect不会跳转啊,有返回数据,但是不跳转

qinaidetonggege avatar Aug 26 '20 09:08 qinaidetonggege