fix: extras option for app.intent() handles data types incorrectly

This commit is contained in:
hyb1996
2018-03-10 16:35:49 +08:00
parent 16b39b550d
commit 40f7941064

View File

@@ -11,7 +11,7 @@ module.exports = function(__runtime__, scope){
}
if (i.extras) {
for (var key in i.extras) {
intent.putExtra(key, i.extras[key].toString());
intent.putExtra(key, i.extras[key]);
}
}
if (i.category) {