|
|
@@ -167,7 +167,7 @@ Page({
|
|
|
label: "结束"
|
|
|
}]
|
|
|
};
|
|
|
- if (status == '新建' && isLeader) getApp().globalData.handleClue = this.isDelete.bind(this);
|
|
|
+ getApp().globalData.handleClue = this.isDelete.bind(this);
|
|
|
}
|
|
|
this.setData({
|
|
|
tabbarList,
|
|
|
@@ -179,7 +179,7 @@ Page({
|
|
|
* @param {number} total 数据数量
|
|
|
*/
|
|
|
isDelete(total) {
|
|
|
- if (total == 0) this.setData({
|
|
|
+ if (this.data.detail.status == '新建' && this.data.isLeader && total == 0) this.setData({
|
|
|
tabbarList: this.data.tabbarList.concat([{
|
|
|
icon: "icon-guanlian-shanchu",
|
|
|
label: "删除"
|