From 90fbfb0e3442c19d129233c6be909177ea63f598 Mon Sep 17 00:00:00 2001 From: hole-thu Date: Wed, 15 Dec 2021 21:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E5=AF=BC=E5=87=BA=E5=85=B3=E6=B3=A8?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Flows.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Flows.js b/src/Flows.js index 63596d8..ab6b395 100644 --- a/src/Flows.js +++ b/src/Flows.js @@ -1112,6 +1112,7 @@ export class Flow extends PureComponent { title: '', data: [], }, + export_text: '', loading_status: 'done', error_msg: null, }; @@ -1256,6 +1257,7 @@ export class Flow extends PureComponent { }, mode: 'attention_finished', loading_status: 'done', + export_text: json.data.map(post => `#${post.pid}`).join('\n'), }); }) .catch(failed); @@ -1295,6 +1297,14 @@ export class Flow extends PureComponent { const should_deletion_detect = localStorage['DELETION_DETECT'] === 'on'; return (
+ {this.state.export_text && ( + + )}