网关切图

This commit is contained in:
仲么了
2023-02-14 13:34:00 +08:00
parent 061ad5222d
commit b9b627eaa8
5 changed files with 503 additions and 30 deletions

View File

@@ -23,16 +23,16 @@ export default {
},
methods: {
newDevice () {
uni.scanCode({
success: function (res) {
console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result);
uni.navigateTo({
url: '/pages/gateway/newDevice'
})
}
});
// uni.scanCode({
// success: function (res) {
// console.log('条码类型:' + res.scanType);
// console.log('条码内容:' + res.result);
// }
// });
uni.navigateTo({
url: '/pages/gateway/newDevice'
})
},
}
}
@@ -56,5 +56,4 @@ export default {
}
}
}
</style>