Browse Source

文件数据显示修改

zhuwei 2 years ago
parent
commit
b27fba8767
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/people/company-rule.vue

+ 3 - 3
src/views/people/company-rule.vue

@@ -97,9 +97,9 @@ const uploadFileSuccess = (res) => {
 }
 
 //查看pdf
-const viewPdf = ({ link }) => {
-    if (link) {
-        window.open(link, '_blank')
+const viewPdf = ({ linkUrl }) => {
+    if (linkUrl) {
+        window.open(linkUrl, '_blank')
     } else {
         window.$message.error('暂无文件')
     }