就这个方法点击之后没有像iOS那样出现选择条件框 ,为什么会这样? ios没有问题
function uploadBox(flag){
if(mui.os.plus || mui.os.android || mui.os.iphone ){
debugger
var a = [{
title: "拍照"
}, {
title: "从手机相册选择"
}];
plus.nativeUI.actionSheet({
title: "选择图片",
cancel: "取消",
buttons: a
}, function(b) {
switch (b.index) {
case 0:
break;
case 1:
getImage(flag);
break;
case 2:
galleryImg(flag);
break;
default:
break;
}
})
}
}