core_image

This commit is contained in:
2022-07-18 11:51:43 +02:00
parent 5eded33414
commit 2bcbb0f5a9
3 changed files with 210 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div style="min-height: 100px;" :class="value.name">
<b-modal v-model="modalAddBox" class_other="modal-xl" v-on:onClose="modalAddBox = false" title="Dodaj widżet" >
<b-modal v-model="modalAddBox" class_other="modal-xl" v-on:onClose="modalAddBox = false" title="Dodaj widżet">
<div>
<DropdownSectionSection v-on:input="clickAdd" v-model="opcja">
@@ -53,6 +53,7 @@ import MagicoModal from './MagicoModal.vue'
import SectionText from './plugin/SectionText.vue'
import SectionTextarea from './plugin/SectionTextarea.vue'
import SectionHtml from './plugin/SectionHtml.vue'
import SectionImage from './plugin/SectionImage.vue'
import DropdownSectionSection from './DropdownSectionSection.vue'
@@ -64,7 +65,9 @@ export default {
'b-modal': MagicoModal,
'core_section_textarea': SectionTextarea,
'core_section_text': SectionText,
'core_section_html':SectionHtml,
'core_section_html': SectionHtml,
'core_section_image': SectionImage,
DropdownSectionSection
},
@@ -85,7 +88,7 @@ export default {
var a = { name: item, open: true }
this.value.items.push(a);
this.onChange();
this.opcja='';
this.opcja = '';
}
}
}