Skip to content

Commit

Permalink
RecordApp 微信权限检测排除stopRecord:tooshort
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuecn committed Dec 20, 2019
1 parent 976092a commit 11b0420
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions assets/npm-home/hash-history.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[
{
"sha1": "92dc9b3bbb486128252bb6b495a02d1803bddcc9",
"time": "2019-12-21 00:29:53"
},
{
"sha1": "5156b98907b5acfa01a47dff4859327b8dc6f25a",
"time": "2019-12-9 16:33:08"
Expand Down
2 changes: 1 addition & 1 deletion dist/app-support/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/app-support/app-ios-weixin-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ platform.RequestPermission=function(success,fail){
success:function(){
setTimeout(function(){
stopNow(function(e){
if(e){
fail("清理资源出错:"+e);
}else{
if(!e || /short/i.test(e)){ //排除stopRecord:tooshort错误
success();
}else{
fail("清理资源出错:"+e);
};
});
},100);
Expand Down

0 comments on commit 11b0420

Please sign in to comment.