mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
parent
43f95fd40e
commit
55bec8a911
@ -115,7 +115,9 @@ const acceptParams = (props: EditProps) => {
|
|||||||
isFullscreen.value = fileType.value === 'excel';
|
isFullscreen.value = fileType.value === 'excel';
|
||||||
|
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
fileUrl.value = `${import.meta.env.VITE_API_URL as string}/files/download?path=${encodeURIComponent(props.path)}`;
|
fileUrl.value = `${import.meta.env.VITE_API_URL as string}/files/download?path=${encodeURIComponent(
|
||||||
|
props.path,
|
||||||
|
)}×tamp=${new Date().getTime()}`;
|
||||||
open.value = true;
|
open.value = true;
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user