QtObject {
    Component.onCompleted: console.log("Completed")//构造函数
    Component.onDestruction: console.log("Destruction")//析构函数
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
猜你喜欢
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
相关资源
相似解决方案