|
@@ -126,7 +126,7 @@ const refresh = async () => {
|
|
|
watchEffect(() => caseId.value && currentTypeId.value && refresh());
|
|
|
|
|
|
const query = (file: CaseFile) => {
|
|
|
- const ext = file.filesUrl.substring(file.filesUrl.lastIndexOf("."));
|
|
|
+ const ext = file.filesUrl.substring(file.filesUrl.lastIndexOf(".")).toLocaleLowerCase();
|
|
|
if (ext === ".raw") {
|
|
|
window.open(`/xfile-viewer/index.html?file=${file.filesUrl}&time=` + Date.now());
|
|
|
} else {
|