update:设备解绑功能
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user