Show.vue 665 B

123456789101112131415161718192021222324
  1. <template>
  2. <q-page-builder v-model:sections="currenSections"
  3. v-model:options="pageConfig"
  4. :editable="pageBuilderEditable"
  5. :loading="pageBuilderLoading" />
  6. </template>
  7. <script>
  8. import { mixinPageOptions } from 'src/mixin/Mixins.js'
  9. export default {
  10. name: 'AdminPanel.Package.Show',
  11. mixins: [mixinPageOptions],
  12. data: () => {
  13. return {
  14. sections: [{ data: { rows: [{ cols: [{ widgets: [{ name: 'TicketShow' }], options: { style: { paddingTop: '124px' } } }], options: {} }] } }]
  15. }
  16. },
  17. created() {
  18. this.currenSections = this.sections
  19. this.pageBuilderLoading = false
  20. }
  21. }
  22. </script>