@jiangood/open-admin 3.0.10 → 3.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -48,5 +48,5 @@
48
48
  "test:e2e": "playwright test",
49
49
  "test:e2e:ui": "playwright test --ui"
50
50
  },
51
- "version": "3.0.10"
51
+ "version": "3.0.11"
52
52
  }
@@ -142,6 +142,9 @@ export class DownloadModal extends React.Component<DownloadModalProps, ModalStat
142
142
  }
143
143
  filename = parsedName;
144
144
  }
145
+ if (filename && filename !== this.state.fileName) {
146
+ this.setState({fileName: filename});
147
+ }
145
148
 
146
149
  const url = window.URL.createObjectURL(new Blob([blob]));
147
150
  const link = document.createElement('a');
@@ -157,6 +157,7 @@ export default class extends React.Component {
157
157
  </div>
158
158
  {selectedOrg && (
159
159
  <Descriptions size='small' column={2}>
160
+ <Descriptions.Item label="唯一标识">{selectedOrg.id}</Descriptions.Item>
160
161
  <Descriptions.Item label="名称">{selectedOrg.name}</Descriptions.Item>
161
162
  <Descriptions.Item label="类型">{selectedOrg.typeLabel}</Descriptions.Item>
162
163
  <Descriptions.Item label="上级机构">{selectedOrg.parentName || '-'}</Descriptions.Item>