|
@@ -63,7 +63,7 @@ export default {
|
|
|
if (newVal) {
|
|
|
this.selectAll = true
|
|
|
this.getResoureList()
|
|
|
- this.getResoureByNum()
|
|
|
+ // this.getResoureByNum()
|
|
|
}
|
|
|
this.userName = ''
|
|
|
this.lang = localStorage.getItem('language')
|
|
@@ -136,7 +136,11 @@ export default {
|
|
|
if (res.data.code !== 0) {
|
|
|
return this.handleClick()
|
|
|
}
|
|
|
- this.auth = res.data.data
|
|
|
+ let tmp = res.data.data.map(item => {
|
|
|
+ item.hasAuth = true
|
|
|
+ return item
|
|
|
+ })
|
|
|
+ this.auth = tmp
|
|
|
},
|
|
|
async addCooperation () {
|
|
|
let token = localStorage.getItem('token')
|