这是你的新*仓库*。 写点笔记,[[创建链接]],或者试一试[导入器](https://help.obsidian.md/Plugins/Importer)插件! 当你准备好了,就将该笔记文件删除,使这个仓库为你所用。 ```typescript const getStatusText = (status: number) => {   return statusMap[status] || '未知状态' } const orderId = ref(parseInt(String(route.params.id))) // 监听路由参数变化 watch(() => route.params.id, (newId) => {   orderId.value = parseInt(String(newId)) }) const order = computed(() => {   return orderStore.orders.find(o => o.orderId === orderId.value) }) onMounted(() => {   if (!order.value) {     // Handle case when order is not found   } }) ```