You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
636 B
29 lines
636 B
import Rate from '../index';
|
|
import VcTooltip from '../../vc-tooltip/index';
|
|
import '../../vc-tooltip/assets/bootstrap_white.less';
|
|
import '../assets/index.less';
|
|
|
|
export default {
|
|
data() {
|
|
return {};
|
|
},
|
|
render() {
|
|
return (
|
|
<div style="margin: 100px">
|
|
<Rate
|
|
defaultValue={3}
|
|
characterRender={(node, props) => {
|
|
// console.dir(node);
|
|
// console.dir(props.index);
|
|
return (
|
|
<VcTooltip placement="top" overlay={props.index}>
|
|
{node}
|
|
</VcTooltip>
|
|
);
|
|
}}
|
|
/>
|
|
</div>
|
|
);
|
|
},
|
|
};
|