inheritattrs

  • inheritattrs詳解

    一、什麼是inheritattrs? inheritattrs是一個在自定義組件中常用的屬性,可以讓組件內部包含的某一個子組件繼承父組件的屬性。 有些時候,我們可能想讓某一個子組件…

    編程 2025-02-17