
--- client/views/pages/custom/InsertDataAnalytics.vue
+++ client/views/pages/custom/InsertDataAnalytics.vue
... | ... | @@ -682,6 +682,13 @@ |
682 | 682 |
|
683 | 683 |
if (this.currentLayout.useSj) { |
684 | 684 |
this.currentLayout.component = null; // 컴포넌트 초기화 |
685 |
+ |
|
686 |
+ // 현재 레이아웃에 따른 레이아웃 탭 옵션 |
|
687 |
+ this.optionList = [ |
|
688 |
+ { id: "LAYOUT", name: "레이아웃", useAt: true }, |
|
689 |
+ { id: "TITLE", name: "타이틀", useAt: this.currentLayout.children.length == 0 }, |
|
690 |
+ { id: "COMPONENT", name: "컴포넌트", useAt: !this.$isEmpty(this.currentLayout.component) }, |
|
691 |
+ ]; |
|
685 | 692 |
} else { |
686 | 693 |
this.currentLayout.layoutSj = _.cloneDeep(this.$getDefaultObject().layoutSj); // 타이틀 초기화 |
687 | 694 |
} |
... | ... | @@ -747,7 +754,6 @@ |
747 | 754 |
|
748 | 755 |
// 레이아웃 선택 |
749 | 756 |
fnSelectLayout(layout) { |
750 |
- |
|
751 | 757 |
// 현재 레이아웃 변경 |
752 | 758 |
this.currentLayout = layout; |
753 | 759 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?