mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-13 13:59:04 +08:00
docs(modal): make dialog demo closable
This commit is contained in:
parent
bc0c888d23
commit
0f3d8633c0
@ -6,7 +6,7 @@ export default {
|
||||
contentMargin: '8px 0 16px 0',
|
||||
iconMargin: '0 4px 0 0',
|
||||
iconMarginIconTop: '4px 0 8px 0',
|
||||
closeSize: '16px',
|
||||
closeSize: '18px',
|
||||
closeMargin: '22px 28px 0 0',
|
||||
closeMarginIconTop: '12px 18px 0 0'
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ An example of preset `dialog`.
|
||||
preset="confirm"
|
||||
title="Dialog"
|
||||
content="Are you sure?"
|
||||
:closable="false"
|
||||
positive-text="Submit"
|
||||
@positive-click="submitCallback"
|
||||
@negative-click="cancelCallback"
|
||||
|
@ -9,7 +9,6 @@
|
||||
preset="confirm"
|
||||
title="确认"
|
||||
content="你确认?"
|
||||
:closable="false"
|
||||
positive-text="确认"
|
||||
@positive-click="submitCallback"
|
||||
@negative-click="cancelCallback"
|
||||
|
Loading…
x
Reference in New Issue
Block a user