fixed modal
This commit is contained in:
parent
6700f596c9
commit
6f3403801a
4 changed files with 7 additions and 5 deletions
|
@ -42,7 +42,7 @@
|
|||
</Modal>
|
||||
</template>
|
||||
<script>
|
||||
import { Tag, Modal, iButton } from 'iview';
|
||||
import { Tag, Modal, iButton } from '../../dist/iview.js';
|
||||
export default {
|
||||
components: { Tag, Modal, iButton },
|
||||
data () {
|
||||
|
@ -53,7 +53,9 @@
|
|||
},
|
||||
methods: {
|
||||
ok () {
|
||||
|
||||
setTimeout(() => {
|
||||
this.modal1 = false;
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue