kfb-view 2.3.6 → 2.3.7

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kfb-view",
3
3
  "description": "一个在线kfb的阅片软件",
4
- "version": "2.3.6",
4
+ "version": "2.3.7",
5
5
  "author": "qifeng.fan <qifeng.fan@hzztai.com>",
6
6
  "license": "MIT",
7
7
  "main": "lib/kfb-view.js",
@@ -45,7 +45,8 @@ export class Tailoring extends ViewerCommon {
45
45
  this.stopTailoring();
46
46
  } else {
47
47
  this.color = color || '#FFF';
48
- this.contents = contents?.length ||
48
+ this.contents = contents?.length ?
49
+ contents :
49
50
  ['双击区域内表示完成截图', '双击区域外或按ESC表示取消截图'];
50
51
  this.change();
51
52
  }