watch: {
title(v) {
if(v == '处理') {
this.hasCancle = true
this.hasDraft = false
this.confirmText = '提交'
} else {
this.hasCancle = false
this.hasDraft = true
this.confirmText = '提交审批'
}
}
},
permissions: {
handler(v) {
if (v && v.length) {
this.$nextTick(()=>{
console.log('常用功能>>>>>>>>>>>>>>', this.permissions)
this.modelArr = this.spArr(v, 6)
})
}
},
immediate: true,
deep: true
}