From 2d6f0fa4c4b44415ed33346127d2060429a8a6ff Mon Sep 17 00:00:00 2001 From: selcarpa Date: Thu, 30 Oct 2025 11:50:20 +0800 Subject: [PATCH] `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 --- .gitignore | 1 + src/components/notify/notificationProvider.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 36c9a1a..019fec4 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ coverage/ *.lcov .junit/ /cores/ +/src-tauri/gen/ diff --git a/src/components/notify/notificationProvider.vue b/src/components/notify/notificationProvider.vue index ecf3be3..f1479e7 100644 --- a/src/components/notify/notificationProvider.vue +++ b/src/components/notify/notificationProvider.vue @@ -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="{