mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
fix: 移除未使用的函数
This commit is contained in:
parent
1ed432b1e2
commit
dec0593907
@ -30,25 +30,6 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
mounted() {
|
||||
this.getNodeList()
|
||||
},
|
||||
methods: {
|
||||
getNodeList() {
|
||||
this.$axios.get(
|
||||
`/api/v1/assets/system-users-nodes-relations/?systemuser=${this.object.id}&draw=1&limit=15&offset=0`
|
||||
).then(data => {
|
||||
for (const x in data.results) {
|
||||
this.nodeRelationConfig.hasObjectsId.push(data.results[x].node)
|
||||
this.nodeRelationConfig.hasObjects.push({
|
||||
value: data.results[x].node,
|
||||
label: data.results[x].node_display
|
||||
})
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user