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 =
     delDialog.contextmenuObj.component.fullname ||
     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')) {
     fullname = fullname.slice('/file'.length);
   }