修复绑定设备BUG

This commit is contained in:
kron
2025-06-16 00:30:56 +08:00
parent f4be7c597d
commit 39d30fb7ab
6 changed files with 50 additions and 36 deletions

View File

@@ -12,6 +12,12 @@ function request(method, url, data = {}) {
data,
success: (res) => {
if (res.data.code === 0) resolve(res.data.data);
else {
uni.showToast({
title: res.data.message,
icon: "none",
});
}
},
fail: (err) => {
reject(err);