fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "magico-pagebuilder",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.14",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -186,7 +186,7 @@ export default {
|
||||
modalSave: false,
|
||||
modalLoad: false,
|
||||
descriptionAllegro: false,
|
||||
ownUpdate: false
|
||||
ownUpdate:false,
|
||||
}
|
||||
},
|
||||
props: ['name', 'modelValue', 'showcopy', 'lang'],
|
||||
@@ -221,8 +221,8 @@ export default {
|
||||
},
|
||||
modelValue: function () {
|
||||
if(this.ownUpdate){
|
||||
this.ownUpdate = false
|
||||
return
|
||||
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')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user