diff --git a/components/diy/auxiliary-line.vue b/components/diy/auxiliary-line.vue
index bbaa4481..aaf33163 100644
--- a/components/diy/auxiliary-line.vue
+++ b/components/diy/auxiliary-line.vue
@@ -22,14 +22,18 @@
};
},
mounted() {
- const new_content = this.value.content || {};
- const new_style = this.value.style || {};
- let border_content = `border-bottom-style: ${new_content?.styles || 'solid'};`;
- let border_style = `border-bottom-width: ${new_style.line_width || 1}px; border-bottom-color: ${new_style.line_color || 'rgba(204, 204, 204, 1)'};`;
- this.style = border_content + border_style;
- this.style_container = common_styles_computer(new_style.common_style);
+ init();
+ },
+ methods: {
+ init() {
+ const new_content = this.value.content || {};
+ const new_style = this.value.style || {};
+ let border_content = `border-bottom-style: ${new_content?.styles || 'solid'};`;
+ let border_style = `border-bottom-width: ${new_style.line_width || 1}px; border-bottom-color: ${new_style.line_color || 'rgba(204, 204, 204, 1)'};`;
+ this.style = border_content + border_style;
+ this.style_container = common_styles_computer(new_style.common_style);
+ },
},
- methods: {},
};
diff --git a/components/diy/diy.vue b/components/diy/diy.vue
index dceeaaec..cd117e4e 100644
--- a/components/diy/diy.vue
+++ b/components/diy/diy.vue
@@ -7,7 +7,7 @@
-
+
diff --git a/components/diy/footer.vue b/components/diy/footer.vue
index 549d6fef..63c04744 100644
--- a/components/diy/footer.vue
+++ b/components/diy/footer.vue
@@ -1,5 +1,5 @@
-