yangg преди 1 седмица
родител
ревизия
6c78cf08f0
променени са 5 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/css/app.77201a8d.css
  3. 0 0
      dist/static/js/app.5f5ed010.js
  4. 0 0
      dist/static/js/app.7b544ce3.js
  5. 3 3
      src/components/FilePreview/index.vue

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.html


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.77201a8d.css


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.5f5ed010.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.7b544ce3.js


+ 3 - 3
src/components/FilePreview/index.vue

@@ -260,12 +260,12 @@ export default {
       return this.fileUrl;
     },
   },
-  mounted() {
+  mounted() { 
     console.log(this.isWord);
     if (this.fileType === "txt") {
       this.loadTextContent();
-    } else if (this.isWord) {
-      this.loadWordContent();
+    } else if (this.$route.query.type == "docx") {
+     this.loadWordContent();
     } else if (this.$route.query.type == "xlsx") {
       this.loadExcelContent();
     }

Някои файлове не бяха показани, защото твърде много файлове са промени