l-painter-image.vue 369 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. </template>
  3. <script>
  4. import {parent, children} from '../common/relation';
  5. export default {
  6. name: 'lime-painter-image',
  7. mixins:[children('painter')],
  8. props: {
  9. id: String,
  10. css: [String, Object],
  11. src: String
  12. },
  13. data() {
  14. return {
  15. type: 'image',
  16. el: {
  17. css: {},
  18. src: null
  19. },
  20. }
  21. }
  22. }
  23. </script>
  24. <style>
  25. </style>