|
|
@ -26,7 +26,9 @@ export default { |
|
|
|
mixins: [ResizeMixin], |
|
|
|
watch: { |
|
|
|
'$route.path'() { |
|
|
|
this.showBtn() |
|
|
|
setTimeout(() => { |
|
|
|
this.showBtn() |
|
|
|
},500) |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
@ -78,8 +80,12 @@ export default { |
|
|
|
} |
|
|
|
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) |
|
|
|
}, |
|
|
|