update:设备解绑功能

This commit is contained in:
2026-08-10 10:34:54 +08:00
parent 8c96a4cb73
commit 23655102d3
4 changed files with 188 additions and 5 deletions
+10
View File
@@ -54,6 +54,11 @@ const toAudioTestPage = () => {
url: "/pages/audio-test",
});
};
const toUnbindDevicePage = () => {
uni.navigateTo({
url: "/pages/device/unbind-device",
});
};
const showLogout = ref(false);
const logout = () => {
@@ -161,6 +166,11 @@ const buildVersion = typeof __BUILD_TIME__ !== 'undefined' ? __BUILD_TIME__ : ''
title="版本信息(仅用于测试)"
v-if="showLogout"
>{{ buildVersion }}</UserItem>
<UserItem
title="解绑设备(仅用于测试)"
:onClick="toUnbindDevicePage"
v-if="showLogout"
/>
<UserItem
title="退出登录(仅用于测试)"
:onClick="logout"