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.
28 lines
621 B
28 lines
621 B
2 years ago
|
"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: {}
|
||
|
});
|