apply debug changes

This commit is contained in:
mohadese namavar
2024-07-07 14:16:58 +04:30
parent cb86fa4278
commit c1762c0083
11 changed files with 321 additions and 210 deletions
+5 -1
View File
@@ -18,9 +18,13 @@
const { swiper, btns } = inject('init')
const { device, dialog } = inject('service')
const product = inject('data')
const token = useCookie('token')
const router = useRouter()
const handleClick = () => {
dialog.show(resolveComponent('ProductDialogReport'), product)
if (token.value)
dialog.show(resolveComponent('ProductDialogReport'), product)
else router.push('/auth/login')
}
</script>