Showing
3 changed files
with
0 additions
and
4 deletions
| @@ -90,7 +90,6 @@ | @@ -90,7 +90,6 @@ | ||
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | const handleOpenTbDeviceDetail = (data: { id: string; tbDeviceId: string }) => { | 92 | const handleOpenTbDeviceDetail = (data: { id: string; tbDeviceId: string }) => { |
| 93 | - console.log('component enter'); | ||
| 94 | emit('openTbDeviceDetail', data); | 93 | emit('openTbDeviceDetail', data); |
| 95 | }; | 94 | }; |
| 96 | return { | 95 | return { |
| @@ -69,12 +69,10 @@ | @@ -69,12 +69,10 @@ | ||
| 69 | 69 | ||
| 70 | const handleGetTbDeviceId = async (record) => { | 70 | const handleGetTbDeviceId = async (record) => { |
| 71 | try { | 71 | try { |
| 72 | - // console.log(record); | ||
| 73 | const res = await getTbDeviceId(record.tbDeviceId); | 72 | const res = await getTbDeviceId(record.tbDeviceId); |
| 74 | if (res && res.id) { | 73 | if (res && res.id) { |
| 75 | emit('openTbDeviceDetail', { id: res.id, tbDeviceId: res.tbDeviceId }); | 74 | emit('openTbDeviceDetail', { id: res.id, tbDeviceId: res.tbDeviceId }); |
| 76 | } | 75 | } |
| 77 | - // console.log(res); | ||
| 78 | } catch (error) {} | 76 | } catch (error) {} |
| 79 | }; | 77 | }; |
| 80 | return { | 78 | return { |
| @@ -325,7 +325,6 @@ | @@ -325,7 +325,6 @@ | ||
| 325 | }; | 325 | }; |
| 326 | 326 | ||
| 327 | const handleOpenTbDeviceDetail = (data: { id: string; tbDeviceId: string }) => { | 327 | const handleOpenTbDeviceDetail = (data: { id: string; tbDeviceId: string }) => { |
| 328 | - console.log('enter'); | ||
| 329 | openTbDeviceDrawer(true, data); | 328 | openTbDeviceDrawer(true, data); |
| 330 | }; | 329 | }; |
| 331 | 330 |