This commit is contained in:
2024-07-02 08:53:18 +02:00
parent 883dd6da91
commit 0951c2a4ea
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "magico-pagebuilder",
"version": "0.0.13",
"version": "0.0.14",
"private": true,
"scripts": {
"dev": "vite",

View File

@@ -186,7 +186,7 @@ export default {
modalSave: false,
modalLoad: false,
descriptionAllegro: false,
ownUpdate: false
ownUpdate:false,
}
},
props: ['name', 'modelValue', 'showcopy', 'lang'],
@@ -220,9 +220,9 @@ export default {
console.log('nq', newQuestion)
},
modelValue: function () {
if (this.ownUpdate) {
this.ownUpdate = false
return
if(this.ownUpdate){
this.ownUpdate=false;
return;
}
try {
this.comps = JSON.parse(trimmed)
@@ -240,7 +240,7 @@ export default {
},
methods: {
onChange: function () {
this.ownUpdate = true
this.ownUpdate=true;
this.$emit('update:modelValue', JSON.stringify(this.comps))
this.$emit('change')
},