提交 11816023 编写于 作者: fxy060608's avatar fxy060608

chore: build

上级 06fc3a1c
......@@ -1153,10 +1153,24 @@ const getProvider = initGetProvider({
payment: ['qqpay'],
push: ['qq'],
});
function createCanvasContext(canvasId, context) {
if (context) {
context[Symbol.toPrimitive] = () => '[object Object]';
}
return qq.createCanvasContext(canvasId, context);
}
function canvasToTempFilePath(canvasId, context) {
if (context) {
context[Symbol.toPrimitive] = () => '[object Object]';
}
return qq.canvasToTempFilePath(canvasId, context);
}
var shims = /*#__PURE__*/Object.freeze({
__proto__: null,
getProvider: getProvider
getProvider: getProvider,
createCanvasContext: createCanvasContext,
canvasToTempFilePath: canvasToTempFilePath
});
var protocols = /*#__PURE__*/Object.freeze({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册