From e56c865ac3940aef8dc0605a13987d8fa58d1045 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 11 二月 2023 21:56:10 +0800 Subject: [PATCH] 2023-02-11 --- src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx b/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx index b4313e8..aa0307b 100644 --- a/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx +++ b/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx @@ -19,6 +19,12 @@ this.setState({component}) } + componentWillUnmount () { + this.setState = () => { + return + } + } + // <Button className="loading-skeleton" disabled={true}></Button> // 楠ㄦ灦鎸夐挳 render() { const C = this.state.component -- Gitblit v1.8.0