span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br></div></div><h2 id="钩子方法" tabindex="-1">钩子方法 <a class="header-anchor" href="#钩子方法" aria-label="Permalink to &quot;钩子方法&quot;">​</a></h2><table><thead><tr><th style="text-align:center;"><strong>方法</strong></th><th style="text-align:center;"><