Compare commits

..

No commits in common. "71e1d4a02c077c6e8a95daebbadf522545acaa04" and "a18bf89ac7348bc6bc61573d1ff216d2eb499151" have entirely different histories.

1 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,10 @@ const handleBack = () => {
}
const handleSearch = async () => {
if (!searchParams.value.keyWord) {
uni.showToast({ title: '请输入设备编码', icon: 'none' })
return
}
try {
const res = await getInfoByCode({ maCode: searchParams.value.keyWord, qrCode: searchParams.value.qrCode })