l-painter-qrcode.vue 371 B

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