chore(Dialog): rename round theme to round-button

This commit is contained in:
chenjiahan
2020-08-03 21:31:40 +08:00
parent 9e86cfbdd8
commit c72927f404
4 changed files with 16 additions and 13 deletions
+3 -1
View File
@@ -225,7 +225,9 @@ export default createComponent({
>
{Title}
{this.genContent(title, messageSlot)}
{this.theme === 'round' ? this.genRoundButtons() : this.genButtons()}
{this.theme === 'round-button'
? this.genRoundButtons()
: this.genButtons()}
</div>
</transition>
);