fix:修复endpoint-query 的save chart无法创建新panel的问题

This commit is contained in:
wangwenrui
2020-10-23 11:57:29 +08:00
parent 0e96e1c811
commit 98a2b26cd1
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@
<chart ref="endpointChart" :unit="chartUnit"></chart>
</el-dialog>
<transition name="right-box">
<chart-box v-if="rightBox.show" @close="rightBox.show = false" :chart="chart" ref="addChartModal" :panel-data="panelData" @on-create-success="createSuccess" @reloadOnlyPanel="getPanelData" @reload="getPanelData" :show-panel="{}" box-class="save-chart-box"></chart-box>
<chart-box v-if="rightBox.show" @close="rightBox.show = false" :chart="chart" ref="addChartModal" :panel-data="panelData" @on-create-success="createSuccess" @reloadOnlyPanel="getPanelData" @reload="getPanelData" :show-panel="{id: -1, name: '', type: 'endpointQuery'}" box-class="save-chart-box"></chart-box>
</transition>
</span>
</template>