prevent dispatch form event
when component import an Input, prevent dispatch event from Input to Form
This commit is contained in:
parent
4a5d5cc9f2
commit
21dad188c1
8 changed files with 92 additions and 54 deletions
|
@ -2,7 +2,7 @@
|
|||
<div :class="classes" :style="styles">
|
||||
<Notice
|
||||
v-for="notice in notices"
|
||||
:key="notice"
|
||||
:key="notice.name"
|
||||
:prefix-cls="prefixCls"
|
||||
:styles="notice.styles"
|
||||
:content="notice.content"
|
||||
|
@ -15,7 +15,6 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
// todo :key="notice"
|
||||
import Notice from './notice.vue';
|
||||
|
||||
const prefixCls = 'ivu-notification';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue