solve bug of numbers
This commit is contained in:
@@ -59,16 +59,16 @@ const showFilter = ref()
|
||||
const selectedProduct = ref<Product>()
|
||||
|
||||
function clickProduct(item: Product) {
|
||||
if(item?.show){
|
||||
if(item?.show){
|
||||
// Check if user is logged in
|
||||
if (!getToken()) {
|
||||
message.warning('برای خرید یا فروش محصولات، لطفا ابتدا وارد حساب کاربری خود شوید')
|
||||
router.push({ name: 'login' })
|
||||
return
|
||||
}
|
||||
showFilter.value = true
|
||||
selectedProduct.value = cloneDeep(item)
|
||||
}
|
||||
showFilter.value = true
|
||||
selectedProduct.value = cloneDeep(item)
|
||||
}
|
||||
}
|
||||
|
||||
function changeTab() {
|
||||
|
||||
Reference in New Issue
Block a user