From dec0593907df76ba606143ec577b254352e16f40 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 21 Dec 2020 18:23:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SystemUserDetail/AccountList.vue | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/views/assets/SystemUser/SystemUserDetail/AccountList.vue b/src/views/assets/SystemUser/SystemUserDetail/AccountList.vue index b67055b50..6e540ac34 100644 --- a/src/views/assets/SystemUser/SystemUserDetail/AccountList.vue +++ b/src/views/assets/SystemUser/SystemUserDetail/AccountList.vue @@ -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 - }) - } - } - ) - } } }