修复 prisma 导入路径问题

This commit is contained in:
2025-09-17 17:30:47 +08:00
parent 53dd2527f2
commit 2bf90ee827
3 changed files with 5 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
import {PrismaClient} from '@/generated/prisma'
import { PrismaClient } from "@/generated/prisma/client"
const globalForPrisma = global as unknown as {
prisma: PrismaClient | undefined