This commit is contained in:
Aresn 2017-06-20 16:47:37 +08:00
parent 8b73f45bf7
commit 8e7ac21077
4 changed files with 16 additions and 4 deletions

View file

@ -96,6 +96,9 @@
}
]
}
},
mounted () {
console.log(1)
}
}
</script>

View file

@ -7,10 +7,10 @@
row: Object
},
mounted () {
console.log(1);
// console.log(1);
},
beforeDestroy () {
console.log(2);
// console.log(2);
}
}
</script>

View file

@ -1,5 +1,14 @@
<template>
<div>
<Poptip trigger="hover" title="提示标题" content="提示内容">
<Button>hover 激活</Button>
</Poptip>
<Poptip title="提示标题" content="提示内容">
<Button>click 激活</Button>
</Poptip>
<Poptip trigger="focus" title="提示标题" content="提示内容">
<Button>focus 激活</Button>
</Poptip>
<Poptip trigger="focus" title="提示标题" content="提示内容">
<i-input placeholder="输入框的 focus"></i-input>
</Poptip>