优化: Provider 配置体验(测试读表单值 + 保存反馈 + 报错友好 + 厂商预设,部分完成)

This commit is contained in:
lxy
2026-08-01 16:35:49 +08:00
parent 1a5d543fa1
commit 0e0c6862ba
8 changed files with 168 additions and 18 deletions
+2 -1
View File
@@ -13,7 +13,8 @@
*/
import { reactive, onUnmounted } from 'vue'
export type ToastType = 'info' | 'error' | 'warning'
// P0-2: 加 'success'(保存成功用绿色 toast,此前成功/中性都用 info 致反馈不明确)
export type ToastType = 'info' | 'error' | 'warning' | 'success'
export interface ToastState {
visible: boolean