"use strict"; Component({ properties: { functionList: { type: Array, value: [] } }, data: { functionListComponents: [] }, lifetimes: { attached: function () { var componentFrontId = this.data.functionList; this.setData({ functionListComponents: componentFrontId }); }, detached: function () { }, ready: function () { console.log('functionList组件渲染完毕'); this.triggerEvent('callParentFun'); } }, methods: {} });