docs: fix tooltip doc error (#14748)

pull/14572/head
iamkun 2019-03-18 22:39:59 +08:00 committed by hetech
parent 0706805226
commit 3a1dfcbb81
4 changed files with 39 additions and 0 deletions

View File

@ -143,6 +143,16 @@ In fact, Tooltip is an extension based on [Vue-popper](https://github.com/elemen
</el-tooltip>
</template>
<script>
export default {
data() {
return {
disabled: false
};
}
};
</script>
<style>
.slide-fade-enter-active {
transition: all .3s ease;

View File

@ -143,6 +143,16 @@ De hecho, Tooltip es una extension basada en [Vue-popper](https://github.com/ele
</el-tooltip>
</template>
<script>
export default {
data() {
return {
disabled: false
};
}
};
</script>
<style>
.slide-fade-enter-active {
transition: all .3s ease;

View File

@ -143,6 +143,16 @@ En réalité, Tooltip est une extension de [Vue-popper](https://github.com/eleme
</el-tooltip>
</template>
<script>
export default {
data() {
return {
disabled: false
};
}
};
</script>
<style>
.slide-fade-enter-active {
transition: all .3s ease;

View File

@ -139,6 +139,15 @@ Tooltip 组件提供了两个不同的主题:`dark`和`light`。
<el-button @click="disabled = !disabled">点击{{disabled ? '开启' : '关闭'}} tooltip 功能</el-button>
</el-tooltip>
</template>
<script>
export default {
data() {
return {
disabled: false
};
}
};
</script>
```
:::