mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-27 12:08:49 +08:00
23 lines
590 B
Markdown
23 lines
590 B
Markdown
```html
|
|
<template>
|
|
<Wb-button v-tooltip :tooltip-option="option14">component模版</Wb-button>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data: function(){
|
|
option14: {
|
|
direction: 'bottom',
|
|
align: "left",
|
|
component: new Vue({
|
|
data : function () {
|
|
return {
|
|
a: "组件",
|
|
}
|
|
},
|
|
template: "<Wb-button>我是{{a}}</Wb-button>"
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
``` |