|
|
@@ -55,8 +55,14 @@ Page({
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
getApp().globalData.Language.getLanguagePackage(this, '任务')
|
|
|
+ let templetList = wx.getStorageSync('templetList')
|
|
|
+ templetList.splice(6, 0, {
|
|
|
+ templetname: "我下属创建的",
|
|
|
+ rowindex: 5,
|
|
|
+ templetid: 7
|
|
|
+ })
|
|
|
this.setData({
|
|
|
- classActions: wx.getStorageSync('templetList').map((v, i) => {
|
|
|
+ classActions: templetList.map((v, i) => {
|
|
|
return {
|
|
|
name: v.templetname,
|
|
|
index: v.templetid,
|