- {{ toastStore.current.message }}
+
+
+ {{ toastStore.current.message }}
+
- 关闭
+
@@ -32,6 +35,14 @@ const snackbarShow = computed({
}
})
+const toastIcon = computed(() => ({
+ success: 'mdi-check-circle-outline',
+ error: 'mdi-alert-circle-outline',
+ warning: 'mdi-alert-outline',
+ info: 'mdi-information-outline',
+ primary: 'mdi-information-outline'
+})[toastStore.current?.color] || '')
+
onMounted(() => {
const desktopBridge = window.astrbotDesktop
if (!desktopBridge?.onTrayRestartBackend) {
diff --git a/dashboard/src/components/extension/McpServersSection.vue b/dashboard/src/components/extension/McpServersSection.vue
index 52d3591bf..3b35e21e5 100644
--- a/dashboard/src/components/extension/McpServersSection.vue
+++ b/dashboard/src/components/extension/McpServersSection.vue
@@ -292,7 +292,7 @@
-