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

chore: build

上级 06fc3a1c
......@@ -1152,11 +1152,25 @@ const getProvider = initGetProvider({
share: ['qq'],
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({
......
......@@ -29,4 +29,4 @@ export function canvasToTempFilePath(
context[Symbol.toPrimitive as any] = () => '[object Object]'
}
return qq.canvasToTempFilePath(canvasId, context)
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册