Q-ABAB 2 năm trước cách đây
mục cha
commit
7ec3625141
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/firm.vue

+ 1 - 1
src/views/firm.vue

@@ -157,7 +157,7 @@ export default {
     //展示文件
     checkFile(url) {
       if (
-        url.split(".")[f.split(".").length - 1].toLocaleUpperCase() == "PDF"
+        url.split(".")[url.split(".").length - 1].toLocaleUpperCase() == "PDF"
       ) {
         this.showFileUrl = url;
         this.showFileType = 1;