fix: update components, save templates (#35)

This commit is contained in:
Fine0830
2022-03-23 19:06:20 +08:00
committed by GitHub
parent 93161b6ec9
commit 33365f2a14
11 changed files with 114 additions and 57 deletions

View File

@@ -66,6 +66,7 @@ limitations under the License. -->
i: data.i,
}"
:standard="data.standard"
:needQuery="needQuery"
/>
</div>
<div v-else class="no-data">{{ t("noData") }}</div>
@@ -153,6 +154,7 @@ export default defineComponent({
if (props.data.i !== dashboardStore.selectedGrid.i) {
return;
}
const isList = ListChartTypes.includes(props.data.graph.type || "");
if (
ListChartTypes.includes(dashboardStore.selectedGrid.graph.type) ||
isList
@@ -165,6 +167,7 @@ export default defineComponent({
watch(
() => [selectorStore.currentService, selectorStore.currentDestService],
() => {
const isList = ListChartTypes.includes(props.data.graph.type || "");
if (isList) {
return;
}