@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)
|
|
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(' ');
|