diff --git a/src/views/home/component/shop.vue b/src/views/home/component/shop.vue index 63b1852..2f4898e 100644 --- a/src/views/home/component/shop.vue +++ b/src/views/home/component/shop.vue @@ -27,6 +27,11 @@ const handleEnter = () => { bar_code: bar_code.value, }); }; + +defineExpose({ + bar_code +}) +