sbjw
2025-08-27 5ebdc4d6d2501908342e3740e65bb89090a91f81
src/DocPage.js
@@ -8,7 +8,7 @@
            htmlString: '<h3>正在加载中...</h3>'
        };
    }
//
    componentDidUpdate(prevProps) {
        // 当 URL 中的 page 参数变化时重新加载
        if (this.props.match.params.page !== prevProps.match.params.page) {