navigateToMiniProgram和navigate
由于api上面说navigateToMiniProgram接口要废弃。我就选用navigate进行开发,但是后者提示我‘加载小程序信息超时,无法启动(4,-10002)’,但是前者就可以,但是console会提示即将废弃的提醒,是不是和微信版本有关系,还是和基础库版本有关系,或者是api有问题
4 回复
< navigator class = "back-button" target = "miniProgram" open-type = "redirect" app-id = "wx2af60ce4d206e485" path = "" version = "release" bindsuccess = "succrss" bindfail = "fail" bindcomplete = "complete" > < text class = "text" >返回</ text > < text class = "text" >首页</ text > </ navigator > |
open-type=“navigate” 不报错,但是用了redirect报错 啥问题啊