hellfire 0.25.2 → 0.25.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.25.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.2...v0.25.3) (2023-01-16)
6
+
7
+
8
+
5
9
  ## [0.25.2](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.1...v0.25.2) (2023-01-13)
6
10
 
7
11
 
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- ### Paladin (hellfire)
2
- ---
1
+ ## Paladin (hellfire)
2
+
3
3
 
4
4
  云图本地渲染引擎
5
5
 
6
- ### Usage
6
+ ## Usage
7
7
 
8
8
  Example:
9
9
 
@@ -21,9 +21,9 @@ const Example = ()=> (
21
21
  )
22
22
  ```
23
23
 
24
- ### API documentation
24
+ ## API documentation
25
25
 
26
- > 1.DicomView允许传入的参数
26
+ ### DicomView允许传入的参数:
27
27
 
28
28
  <b>`study`</b>
29
29
 
@@ -144,7 +144,7 @@ toolSortChange: ()=> void
144
144
 
145
145
  传入工具栏自定义排序的回调函数(用于早期的单列工具栏)
146
146
 
147
- > 2.DicomView提供给父组件调用的方法
147
+ ### DicomView提供给父组件调用的方法:
148
148
 
149
149
  <b>`addStudy(data)`</b>
150
150
 
@@ -162,7 +162,7 @@ toolSortChange: ()=> void
162
162
 
163
163
  模拟触发paladin内的各种操作行为(提供给同屏使用)
164
164
 
165
- > 3.paladin对外暴露的对象
165
+ ### paladin对外暴露的对象:
166
166
 
167
167
  用法:
168
168
  ```
package/dist/index.js CHANGED
@@ -51951,8 +51951,12 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
51951
51951
 
51952
51952
  defineProperty(assertThisInitialized(_this), "handleRefresh", function () {
51953
51953
  paladinRefreshEvent();
51954
- _this.props.onRefresh && _this.props.onRefresh();
51955
- window.location.reload();
51954
+
51955
+ if (_this.props.onRefresh) {
51956
+ _this.props.onRefresh();
51957
+ } else {
51958
+ window.location.reload();
51959
+ }
51956
51960
  });
51957
51961
 
51958
51962
  defineProperty(assertThisInitialized(_this), "handleThumbSelect", function (i) {