|
@@ -1916,9 +1916,9 @@ const delComponent = async () => {
|
|
let fullname: string =
|
|
let fullname: string =
|
|
delDialog.contextmenuObj.component.fullname ||
|
|
delDialog.contextmenuObj.component.fullname ||
|
|
delDialog.contextmenuObj.component.image;
|
|
delDialog.contextmenuObj.component.image;
|
|
- if (imageDrive && fullname.startsWith(imageDrive)) {
|
|
|
|
- fullname = fullname.slice(imageDrive.length);
|
|
|
|
- }
|
|
|
|
|
|
+ //if (imageDrive && fullname.startsWith(imageDrive)) {
|
|
|
|
+ // fullname = fullname.slice(imageDrive.length);
|
|
|
|
+ //}
|
|
if(fullname.startsWith('/file')) {
|
|
if(fullname.startsWith('/file')) {
|
|
fullname = fullname.slice('/file'.length);
|
|
fullname = fullname.slice('/file'.length);
|
|
}
|
|
}
|