Skip to content

Commit

Permalink
fixed createVideoContext error - #133
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed May 11, 2017
1 parent 3ed844b commit bc9a700
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/wepy/src/app.js
Expand Up @@ -119,6 +119,9 @@ export default class {
if (key === 'request') {
obj = (typeof(obj) === 'string') ? {url: obj} : obj;
}
if (typeof obj === 'string') {
return wx[key](obj);
}
if (self.$addons.promisify) {
return new Promise((resolve, reject) => {
let bak = {};
Expand Down

0 comments on commit bc9a700

Please sign in to comment.