This commit is contained in:
Viet An
2026-06-08 22:37:23 +07:00
parent 853f969921
commit 5f39f5b0ec
14 changed files with 285 additions and 150 deletions

View File

@@ -3,6 +3,7 @@ import { remove } from "es-toolkit";
const props = defineProps({
imei: Object,
deleteable: Boolean,
});
const { $numtoString, $snackbar } = useNuxtApp();
const store = useStore();
@@ -35,7 +36,7 @@ function removeFromCart() {
</div>
<p class="has-text-primary-50 font-medium">{{ $numtoString(imei.variant__price, { hasUnit: true }) }}</p>
</div>
<div>
<div v-if="deleteable">
<button
@click="removeFromCart"
class="button is-danger is-light"