Q-ABAB hace 2 años
padre
commit
7ec3625141
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;