【修改】 页面标题
This commit is contained in:
@@ -18,7 +18,8 @@ Page({
|
||||
particularYear:'',// 资料网元的运行年份,
|
||||
// 创建时间倒叙排序
|
||||
column:'createTime',
|
||||
order:'desc'
|
||||
order:'desc',
|
||||
pageTitle:'项目'
|
||||
}
|
||||
},
|
||||
goBack(){
|
||||
@@ -179,6 +180,20 @@ Page({
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
this.data.type = options.type
|
||||
switch(options.type){
|
||||
case 'ziliao': this.setData({
|
||||
pageTitle:'资料网员'
|
||||
})
|
||||
break
|
||||
case 'work': this.setData({
|
||||
pageTitle:'工作组'
|
||||
})
|
||||
break
|
||||
default : this.setData({
|
||||
pageTitle:'项目'
|
||||
})
|
||||
break
|
||||
}
|
||||
this.loadData()
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user