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.
43 lines
756 B
43 lines
756 B
// home/components/install/install.js
|
|
Component({
|
|
/**
|
|
* 组件的属性列表
|
|
*/
|
|
properties: {
|
|
detailObj: Object,
|
|
cagesList: Array,
|
|
supportList: Array,
|
|
converterList: Array,
|
|
componentList: Array,
|
|
productList: Array,
|
|
// nbqList: Array,
|
|
// zjMap: Object
|
|
},
|
|
|
|
/**
|
|
* 组件的初始数据
|
|
*/
|
|
data: {
|
|
tabIndex: '0',
|
|
},
|
|
ready(){
|
|
this.setData({
|
|
capitalId: this.data.detailObj.management,
|
|
projectList: this.data.detailObj.projectList,
|
|
})
|
|
// console.log(1212, this.data)
|
|
},
|
|
|
|
/**
|
|
* 组件的方法列表
|
|
*/
|
|
methods: {
|
|
//tab切换
|
|
changeTab(e){
|
|
let index = e.currentTarget.dataset.index
|
|
this.setData({
|
|
tabIndex: index
|
|
})
|
|
}
|
|
}
|
|
}) |