This commit is contained in:
2024-01-11 13:31:10 +01:00
parent 7d7df8ff99
commit ab4fdbad85
3 changed files with 245 additions and 509 deletions

View File

@@ -23,7 +23,7 @@ export default {
const { register: sectionRegister } = useSections()
let vm = this
this.$pagebuilder.axios = axios.create({
headers: { Authorization: 'Bearer ffe788a01ac6c7461c2159d76271485130994e02' }
headers: { Authorization: 'Bearer 40660b963460d453d903be5d5091e0c94a3254ce' }
})
this.$pagebuilder.axios.get('https://cms.magico.pro/api/v1/section').then((response) => {

View File

@@ -48,8 +48,8 @@
<div class="pb_section table-bordered p-2 pl-3 pr-3 mb-3 rounded">
<component
@itemRemoved="removeItem"
:key="keyIndex+contentId + rand()"
:id="keyIndex+contentId + rand()"
:key="keyIndex+contentId + element.name+index"
:id="keyIndex+contentId + element.name+index"
v-bind:is="element.name"
v-bind:value="element"
v-model="value.items[index]"
@@ -104,6 +104,7 @@ export default {
opcja: '',
modalAddBox: false,
drag: false,
modalColumnsSettings: false,
contentId: 'cnt' + Math.round(Math.random() * 1000)
}

747
yarn.lock

File diff suppressed because it is too large Load Diff