lex hai 1 ano
pai
achega
e31a44e2c2
Modificáronse 2 ficheiros con 7 adicións e 7 borrados
  1. 1 1
      dev-dist/sw.js
  2. 6 6
      src/components/layout/modals/suggestion-option.tsx

+ 1 - 1
dev-dist/sw.js

@@ -82,7 +82,7 @@ define(['./workbox-5357ef54'], (function (workbox) { 'use strict';
     "revision": "3ca0b8505b4bec776b69afdba2768812"
   }, {
     "url": "index.html",
-    "revision": "0.3q2r9p5ticg"
+    "revision": "0.hbkf56gd6cg"
   }], {});
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {

+ 6 - 6
src/components/layout/modals/suggestion-option.tsx

@@ -74,12 +74,12 @@ export default defineComponent({
           return;
         }
         const attachmentUrlsList = fileListRef.value.map((item: any) => {
-          console.log(item, 'item');
-          const name = item.name;
-          // const suffix = name.slice(name.lastIndexOf('.'));
-          const fileName = `${item.id + name}`;
-          const url = ossUploadUrl + fileName;
-          return url;
+          // console.log(item, 'item');
+          // const name = item.name;
+          // // const suffix = name.slice(name.lastIndexOf('.'));
+          // const fileName = `${item.id + name}`;
+          // const url = ossUploadUrl + fileName;
+          return item.url;
         });
         const attachmentUrls = attachmentUrlsList.join(',');
         try {