mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[new feature] Dialog: add message-align prop (#2259)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div
|
||||
v-if="message"
|
||||
v-html="message"
|
||||
:class="b('message', { 'has-title': title })"
|
||||
:class="b('message', { 'has-title': title, [messageAlign]: messageAlign })"
|
||||
/>
|
||||
</slot>
|
||||
</div>
|
||||
@@ -68,6 +68,7 @@ export default create({
|
||||
callback: Function,
|
||||
className: [String, Object, Array],
|
||||
beforeClose: Function,
|
||||
messageAlign: String,
|
||||
confirmButtonText: String,
|
||||
cancelButtonText: String,
|
||||
showCancelButton: Boolean,
|
||||
|
Reference in New Issue
Block a user