提交 218756da 编写于 作者: Q qiang

fix: reset JSContext ArrayBuffer

上级 377ae4b2
...@@ -73,6 +73,7 @@ module.exports = function (content, map) { ...@@ -73,6 +73,7 @@ module.exports = function (content, map) {
}) })
} }
} }
ArrayBuffer = uni.base64ToArrayBuffer('').constructor
App.mpType = 'page' App.mpType = 'page'
App.route = '${params.page}' App.route = '${params.page}'
App.el = '#root' App.el = '#root'
......
...@@ -26,6 +26,9 @@ if (typeof Promise !== 'undefined' && !Promise.prototype.finally) { ...@@ -26,6 +26,9 @@ if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
) )
} }
} }
if(uni.base64ToArrayBuffer){
ArrayBuffer = uni.base64ToArrayBuffer('').constructor
}
${generateUniConfig(appJson, isAppView)} ${generateUniConfig(appJson, isAppView)}
if(uni.restoreGlobal){ if(uni.restoreGlobal){
uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval) uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册