Which lifecycle method of `Vue.js` corresponds to the following code?

Which lifecycle method of

Vue.js corresponds to the following code?

if (document.readyState == "completed") {
  // 
}
Mar.15,2021

mounted

clipboard.png


if (document.readyState == "completed") {
  // 
}

to say which method, it is mounted, but in fact, mounted does not necessarily render all the elements.
https://cn.vuejs.org/v2/api/-sharp.
quotes the official saying:
"

. "
el  vm.$el  root  mounted  vm.$el 

 mounted  vm.$nextTick  mounted:
    mounted: function () {
      this.$nextTick(function () {
        // Code that will run only after the
        // entire view has been rendered
      })
    }

"

Menu