fix(): & & can not work on

This commit is contained in:
songwanli2025@163.com 2020-06-01 18:34:25 +08:00
parent dd6a8de66a
commit a461e77148
3 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,8 @@
# CHANGELOG
## 1.1.6 (2020-06-01)
### Fixes
- 修正 `$NConfirm` 的 `show-icon` & `closable` & `bordered` 属性设置无效.
## 1.1.5 (2020-05-28)
### Features
- 为 `n-collapse``n-collapse-item` 增加了 `display-directive` 属性

View File

@ -1,6 +1,6 @@
{
"name": "naive-ui",
"version": "1.1.5",
"version": "1.1.6",
"description": "A Vue UI Framework. Caring About Styles, Themed, Batteries Included, Not Rather Slow.",
"main": "lib/index.js",
"module": "es/index.js",

View File

@ -14,6 +14,9 @@
:negative-text="negativeText"
:title="title"
:loading="loading"
:closable="closable"
:show-icon="showIcon"
:bordered="bordered"
theme-context-activated
@close="handleCloseClick"
@negative-click="handleNegativeClick"
@ -49,7 +52,10 @@ export default {
onPositiveClick: () => true,
onNegativeClick: () => true,
onClose: () => true,
instances: null
instances: null,
closable: true,
showIcon: true,
bordered: false
}
},
computed: {