diff --git a/src/components/PagebuilderSection.vue b/src/components/PagebuilderSection.vue index 1be9cdb..06a491d 100644 --- a/src/components/PagebuilderSection.vue +++ b/src/components/PagebuilderSection.vue @@ -42,6 +42,30 @@ >
+
+ +
+
+ +
+
+ +
+
+
+
@@ -90,7 +114,7 @@ export default { PagebuilderContent }, data: function () { - return { items: grid, value2: '', show_settings: false } + return { items: grid, value2: '', show_settings: false, type: '' } }, methods: { changeSelect: function () { @@ -114,9 +138,16 @@ export default { }, rand: function (index) { return 'column' + index + Math.random() * 100 + }, + setType: function (type) { + this.type = type + this.value.type = type + this.onChange() } }, - mounted: function () {} + mounted: function () { + this.type = this.value.type + } }