ananzhusen пре 1 година
родитељ
комит
74346f334e
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/views/components/Graphics.vue

+ 3 - 3
src/views/components/Graphics.vue

@@ -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);
   }
   }