优化: Provider 配置体验(测试读表单值 + 保存反馈 + 报错友好 + 厂商预设,部分完成)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user