@yilianjituan/yilian_dgerm 0.0.1-alpha.36 → 0.0.1-alpha.37

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.
@@ -369,7 +369,10 @@ var Index = function Index(props) {
369
369
 
370
370
  // 选中全部
371
371
  var handleSelectAll = function handleSelectAll() {
372
- if (!ocrResult || !ocrResult.wordsResult) return;
372
+ if (!ocrResult || !ocrResult.wordsResult) {
373
+ copy('');
374
+ return;
375
+ }
373
376
  var allText = ocrResult.wordsResult.map(function (item) {
374
377
  return item.words;
375
378
  }).join(' ');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yilianjituan/yilian_dgerm",
3
- "version": "0.0.1-alpha.36",
3
+ "version": "0.0.1-alpha.37",
4
4
  "description": "A react library developed with dumi",
5
5
  "keywords": [
6
6
  "React",