辅助提示语

填写表单鼠标放入填写区域时对应的辅助提示语

普通用法

辅助语提示 - 图1

tip为提示的内容,tipPlacement为提示语的方向,默认为bottom

  1. <avue-form :option="option" v-model="form"></avue-form>
  2. <script>
  3. export default {
  4. data(){
  5. return {
  6. form:{
  7. text1:'文本1',
  8. text2:'文本2'
  9. },
  10. option:{
  11. column: [{
  12. label: '内容1',
  13. prop: 'text1',
  14. tip:'我是一个默认提示语',
  15. },{
  16. label: '内容2',
  17. prop: 'text2',
  18. tip:'我是一个左边提示语',
  19. tipPlacement:'left',
  20. }]
  21. }
  22. }
  23. }
  24. }
  25. </script>