微信小程序最全面Component组件生命周期_harmsworth2016的博客-CSDN博客Component组件生命周期使用miniprogram-computed参考const app = getApp()Component({ behaviors: [require('miniprogram-computed')], /** * 使用全局样式属性 */ options: { addGlobalClass: true }, /** * 组件的属性列表 */ properties: { }, /** * miniproghttps://blog.csdn.net/harmsworth2016/article/details/108674514