ソースを参照

Alert: update type definition (#15186)

hetech 6 年 前
コミット
52959d0630
1 ファイル変更2 行追加2 行削除
  1. 2 2
      types/alert.d.ts

+ 2 - 2
types/alert.d.ts

@@ -26,6 +26,6 @@ export declare class ElAlert extends ElementUIComponent {
   /** If a type icon is displayed */
   showIcon: boolean
 
-  /** Choose theme */
-  theme: AlertEffect
+  /** Choose effect */
+  effect: AlertEffect
 }