iview/examples/routers/poptip.vue

23 lines
548 B
Vue
Raw Normal View History

<template>
2017-10-23 14:12:02 +08:00
<div style="margin: 200px;">
<Poptip title="提示标题" transfer>
<div slot="content" style="padding: 50px">
<Button>click me</Button>
</div>
<Button>click 激活</Button>
2017-08-21 17:15:06 +08:00
</Poptip>
</div>
</template>
<script>
export default {
2017-08-15 10:07:15 +08:00
methods: {
ok () {
this.$Message.info('点击了确定');
},
cancel () {
this.$Message.info('点击了取消');
}
}
}
2016-10-28 17:24:52 +08:00
</script>