소스 검색

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
 }