让设备绑定后不进行跳转到调试页面

This commit is contained in:
WindowBird 2025-09-02 15:23:53 +08:00
parent 63c41a0720
commit d82cf5bc98

View File

@ -323,12 +323,12 @@ export default {
duration: 2000, duration: 2000,
}) })
// // //
setTimeout(() => { // setTimeout(() => {
uni.navigateTo({ // uni.navigateTo({
url: `/page_user/luru/controlDevice?sn=${encodeURIComponent(this.sn)}`, // url: `/page_user/luru/controlDevice?sn=${encodeURIComponent(this.sn)}`,
}) // })
}, 2000) // }, 2000)
} else { } else {
throw new Error(res.msg || '绑定失败') throw new Error(res.msg || '绑定失败')
} }