mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
fix: 解决移动端主机文件批量删除错误 (#6765)
This commit is contained in:
parent
42907cd228
commit
b047a053c5
@ -478,11 +478,10 @@ import {
|
|||||||
SearchFavorite,
|
SearchFavorite,
|
||||||
} from '@/api/modules/files';
|
} from '@/api/modules/files';
|
||||||
import { computeSize, copyText, dateFormat, downloadFile, getFileType, getIcon, getRandomStr } from '@/utils/util';
|
import { computeSize, copyText, dateFormat, downloadFile, getFileType, getIcon, getRandomStr } from '@/utils/util';
|
||||||
import { StarFilled, Star, Top, Right, Close } from '@element-plus/icons-vue';
|
|
||||||
import { File } from '@/api/interface/file';
|
import { File } from '@/api/interface/file';
|
||||||
import { Mimetypes, Languages } from '@/global/mimetype';
|
import { Mimetypes, Languages } from '@/global/mimetype';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
import { Back, Refresh } from '@element-plus/icons-vue';
|
import { Back, Refresh, StarFilled, Star, Top, Right, Close } from '@element-plus/icons-vue';
|
||||||
import { MsgWarning } from '@/utils/message';
|
import { MsgWarning } from '@/utils/message';
|
||||||
import { useSearchable } from './hooks/searchable';
|
import { useSearchable } from './hooks/searchable';
|
||||||
import { ResultData } from '@/api/interface';
|
import { ResultData } from '@/api/interface';
|
||||||
@ -612,7 +611,7 @@ const handleFilePatch = (command: string) => {
|
|||||||
openBatchRole(selects.value);
|
openBatchRole(selects.value);
|
||||||
break;
|
break;
|
||||||
case 'batchDelFiles':
|
case 'batchDelFiles':
|
||||||
openDetail(selects.value);
|
batchDelFiles();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user