| 1234567891011121314151617181920212223242526272829303132333435363738 | const Parse = getApp().ParseComponent({    /**     * 组件的属性列表     */    properties: {        address: {            type: Object,            value: null,        },    },    /**     * 组件的初始数据     */    data: {            },    /**     * 组件的方法列表     */    methods: {        toAddress() {            this.triggerEvent("toAddress", this.data.address);        },    },    lifetimes: {        detached: function () {            // 在组件实例被从页面节点树移除时执行        },        attached: async function () {            // 在组件实例进入页面节点树时执行        },    }})
 |