Преглед на файлове

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
 }