fix(notification): Fixes type errors in the notification component.

- Adds a type assertion to the `variant` property to resolve type mismatch issues.

`chore`: Ignores files generated by Tauri.

- Adds the `/src-tauri/gen/` directory to the `.gitignore` file
This commit is contained in:
2025-10-30 11:50:20 +08:00
parent e4f67f0f76
commit 2d6f0fa4c4
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -59,3 +59,4 @@ coverage/
*.lcov
.junit/
/cores/
/src-tauri/gen/

View File

@@ -6,7 +6,7 @@
v-model="visible[item.id]"
:timeout="item.timeout"
:color="item.color"
:variant="item.variant"
:variant="item.variant as any"
top
right
:style="{