Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taro h5 请求失败 #1

Open
asd39715 opened this issue Dec 27, 2021 · 1 comment
Open

taro h5 请求失败 #1

asd39715 opened this issue Dec 27, 2021 · 1 comment

Comments

@asd39715
Copy link

// 访问 test 模块下的 helloWorld 方法
$api.test.helloWorld({ a: 1 }).then((data) => {
console.log("resp-data: " + JSON.stringify(data));
});

打印发现
$api.test 为 {}

$api.test.helloWorld 为 undefined

@pangwu86
Copy link
Contributor

pangwu86 commented Jan 9, 2022

记下来,等查一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants