|
|
@@ -31,7 +31,7 @@ export default function bridgeLoader(): DEV.Loader {
|
|
|
return 0;
|
|
|
};
|
|
|
window.AIO.print ??= (value) => {
|
|
|
- (window as any).sixWisdom.printPdfByUrl(value);
|
|
|
+ return (window as any).sixWisdom?.printPdfByUrl?.(value) ?? (function() { throw { message: `当前环境不支持` } })();
|
|
|
};
|
|
|
|
|
|
return async function (app, config) {
|