|
|
@ -27,7 +27,7 @@ export default { |
|
|
|
watch: { |
|
|
|
'$route.path'() { |
|
|
|
setTimeout(() => { |
|
|
|
this.showBtn() |
|
|
|
this.getPerList() |
|
|
|
},500) |
|
|
|
} |
|
|
|
}, |
|
|
@ -78,13 +78,12 @@ export default { |
|
|
|
relation: false, |
|
|
|
reset: false, |
|
|
|
} |
|
|
|
console.log('list: ', list); |
|
|
|
for(var i = 0; i < perList.length; i++) { |
|
|
|
if(perList[i][1] === code) { |
|
|
|
console.log('perList[i]: ', perList[i]); |
|
|
|
list[perList[i][2]] = true; |
|
|
|
} |
|
|
|
// if(perList[i][2] === 'reset') { |
|
|
|
// console.log('perList[i]: ', perList[i]); |
|
|
|
// } |
|
|
|
} |
|
|
|
this.setShowBtnList(list) |
|
|
|
}, |
|
|
|