|
@@ -145,6 +145,17 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
+ if(this.$hasPermissions("B_todoList_new_mobile")){
|
|
|
+ // 设置标题栏按钮
|
|
|
+ let currentWebview = this.$scope.$getAppWebview();
|
|
|
+ currentWebview.setTitleNViewButtonStyle(0, {
|
|
|
+ text: '\ue610 新增',
|
|
|
+ fontSize: 16,
|
|
|
+ color: '#eee',
|
|
|
+ width: '80px',
|
|
|
+ fontSrc: '/static/iconfont/iconfont.ttf'
|
|
|
+ });
|
|
|
+ }
|
|
|
uni.$on('refreshBL',this.refresh)
|
|
|
this.pageInit()
|
|
|
},
|