dcloudio / dcloudio/mui

plus is not defined

Open
#261 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.5k
Forks
6.5k
PR merge metrics
No merged PRs in 30d

Description

`// mui初始化
mui.init();

mui.plusReady(function() {
alert("plus ready");
});`
以上步骤,实际在手机上运行之后并未执行plusReady,再调用plus方法时报错,请指点

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported `mui.init()` and `mui.plusReady()` sequence on a phone, then check why the callback is not reached before a `plus` method is called. Done means the callback runs reliably and subsequent `plus` calls no longer report that `plus` is undefined.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.