From a393da96cef328744ade5ed045c62e9b9ce38386 Mon Sep 17 00:00:00 2001 From: imlonghao Date: Wed, 31 Aug 2022 11:33:07 +0800 Subject: [PATCH] Fix widget GlDiskSpace 401 unauth --- src/components/Widgets/GlDiskSpace.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/Widgets/GlDiskSpace.vue b/src/components/Widgets/GlDiskSpace.vue index dcd01fd1..32d04aa1 100644 --- a/src/components/Widgets/GlDiskSpace.vue +++ b/src/components/Widgets/GlDiskSpace.vue @@ -43,9 +43,6 @@ export default { }, }, methods: { - fetchData() { - this.makeRequest(this.endpoint).then(this.processData); - }, processData(diskData) { this.disks = diskData; },