mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-12 14:54:34 +08:00
Optimize: img url path
This commit is contained in:
parent
a93a3d40d8
commit
360db90365
@ -36,7 +36,7 @@ const beforeUpload: UploadProps["beforeUpload"] = async (file) => {
|
||||
}
|
||||
});
|
||||
if (state.value) {
|
||||
imgSrc.value = `${window.location.origin}/upload_files/${state.value}`;
|
||||
imgSrc.value = `/upload_files/${state.value}`;
|
||||
setMetaValue("image", imgSrc.value);
|
||||
percentComplete.value = 0;
|
||||
message.success(t("TXT_CODE_773f36a0"));
|
||||
|
Loading…
Reference in New Issue
Block a user