wukai пре 1 година
родитељ
комит
06681e9ffd
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/components/PreHistory/PreHistory.vue

+ 2 - 2
src/components/PreHistory/PreHistory.vue

@@ -51,7 +51,7 @@ function oo(docId, fileId) {
     }/api/history/${fileId}`;
     console.log("url = ", option.value.url);
     option.value.title = obj.fileName;
-    option.value.key = obj.fileId;
+    option.value.key = fileId;
     option.value.fileType = obj.fileType.replace(".", "");
     option.value.editUrl = `${window.location.origin}${
       import.meta.env.VITE_APP_BASE_API
@@ -82,4 +82,4 @@ onMounted(() => {
 </script>
 
 <style lang="scss" scoped>
-</style>
+</style>