Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Apr 25, 2024
1 parent 573191c commit a6615bf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"typescript": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "assets/css/index.css",
"css": "assets/css/tailwind.css",
"baseColor": "stone",
"cssVariables": true
},
Expand Down
1 change: 0 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default defineNuxtConfig({
},
},
modules: ["@nuxtjs/tailwindcss", "shadcn-nuxt", "@nuxtjs/color-mode"],
css: ["~/assets/css/index.css"],
colorMode: {
classSuffix: "",
},
Expand Down
2 changes: 1 addition & 1 deletion server/api/memo/list.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default defineEventHandler(async (event) => {
orderBy: {
createdAt: "desc",
},
take: size,
take: 5,
},
_count: {
select: {
Expand Down

0 comments on commit a6615bf

Please sign in to comment.