fixed modal

This commit is contained in:
jingsam 2016-11-16 18:44:40 +08:00
parent 6700f596c9
commit 6f3403801a
4 changed files with 7 additions and 5 deletions

View file

@ -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);
}
}
}