fix ids
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user