From 43889669d765fa99989a6ac656fc5fa7b2d04da3 Mon Sep 17 00:00:00 2001 From: kron Date: Sat, 31 May 2025 18:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=89=8B=E8=AF=95=E7=82=BC=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis.js | 4 +--- src/components/SButton.vue | 17 ++++++++++++++--- src/pages/first-try.vue | 33 ++++++++++++++++++++++++--------- 3 files changed, 39 insertions(+), 15 deletions(-) diff --git a/src/apis.js b/src/apis.js index ccdc929..32e87a1 100644 --- a/src/apis.js +++ b/src/apis.js @@ -63,9 +63,7 @@ export const unbindDeviceAPI = (deviceId) => { export const getMyDevicesAPI = () => { // "/user/device/getBinding?deviceId=9ZF9oVXs" - return request("GET", "/user/device/getBindings", { - deviceId, - }); + return request("GET", "/user/device/getBindings"); }; export const createPractiseAPI = (arrows) => { diff --git a/src/components/SButton.vue b/src/components/SButton.vue index 5d7e1eb..7fc4dad 100644 --- a/src/components/SButton.vue +++ b/src/components/SButton.vue @@ -12,14 +12,26 @@ const props = defineProps({ type: Function, default: () => {}, }, + disabled: { + type: Boolean, + default: false, + }, });