# Conflicts:
#	src/router/routes/basic.ts
This commit is contained in:
2025-12-05 10:05:50 +08:00
32 changed files with 902 additions and 333 deletions

View File

@ -1,5 +1,6 @@
import { openWindow } from '..';
import { dataURLtoBlob, urlToBase64 } from './base64Conver';
import { defHttp } from '/@/utils/http/axios';
/**
* Download online pictures
@ -71,7 +72,6 @@ export function downloadByUrl({
let fileUrl = window.URL.createObjectURL(x.response);
const isChrome = window.navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
const isSafari = window.navigator.userAgent.toLowerCase().indexOf('safari') > -1;
if (/(iP)/g.test(window.navigator.userAgent)) {
console.error('Your browser does not support download!');
return false;

View File

@ -26,7 +26,6 @@ import useGlobalFlag from '/@/hooks/core/useGlobalFlag';
import { useLockStore } from '/@/store/modules/lock';
const globSetting = useGlobSetting();
const urlPrefix = globSetting.urlPrefix;
const { createMessage, createErrorModal } = useMessage();