<script setup lang="ts">
import { ref } from 'vue'
interface Product {
id: number,
title: string,
price: number,
isStock: boolean,
}
const priducts = ref<Product[]>([
{
id: 1,
title: '牛仔裤',
price: 200,
isStock: true
}
])
</script>