Skip to content

[Bug]: alova在taro h5中使用出现 TypeError: taro.request is not a function #798

@jc840031139

Description

@jc840031139

这是否是一个 Bug?

  • 我已经确认我要报告的是一个 Bug

这个问题是否已经存在?

  • 我已经确认这个 Issue 没有被报告过

Alova 版本

^3.5.0

前端框架

其他框架

问题描述

在taro编译为小程序时 使用正常 编译h5时 就出现 TypeError: taro.request is not a function

我在debuger中查看了 实际Taro实例上确实没有 request方法 但实际代码中写了Taro.request能运行

插件内部的则报错

期望的表现

期望两端保持一致

复现链接

No response

复现步骤

创建taro 安装alova按照官方文档写即可
编译h5运行 就会报错

系统信息

补充说明

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions