You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
553 B
29 lines
553 B
2 years ago
|
Component({
|
||
|
properties: {
|
||
|
functionList: {
|
||
|
type: Array,
|
||
|
value: []
|
||
|
}
|
||
|
},
|
||
|
data: {
|
||
|
functionListComponents: []
|
||
|
},
|
||
|
lifetimes: {
|
||
|
attached: function () {
|
||
|
let componentFrontId = this.data.functionList
|
||
|
this.setData({
|
||
|
functionListComponents: componentFrontId
|
||
|
})
|
||
|
},
|
||
|
detached: function () {
|
||
|
},
|
||
|
ready(){
|
||
|
console.log('functionList组件渲染完毕')
|
||
|
// let viewHeight = 0
|
||
|
this.triggerEvent('callParentFun')
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
|
||
|
}
|
||
|
})
|