Parcourir la source

'修改模型下载名称'

zhangyu il y a 4 ans
Parent
commit
1cd7f913d3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/model/file/floorTable.vue

+ 1 - 1
src/components/model/file/floorTable.vue

@@ -142,7 +142,7 @@ export default {
       if (url) {
         let a = document.createElement("a");
         a.href = url;
-        a.download = `${this.projectId}${item.Id}${item.FloorName}.rvt`;
+        a.download = `${this.projectId}${item.FolderId}${item.FloorName}.rvt`;
         a.click();
         document.body.removeChild(a);
       } else {