feat: 第一次上传代码

This commit is contained in:
2025-06-29 23:41:37 +08:00
commit 875c60d3ec
478 changed files with 385642 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
const featureSupport = (function () {
var ob = {
maskType: true,
svgLumaHidden: true,
offscreenCanvas: typeof OffscreenCanvas !== 'undefined',
};
if (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) {
ob.maskType = false;
}
if (/firefox/i.test(navigator.userAgent)) {
ob.svgLumaHidden = false;
}
return ob;
}());
export default featureSupport;