This commit is contained in:
wanganmao
2022-12-28 11:32:36 +08:00
2 changed files with 4 additions and 2 deletions

View File

@@ -78,7 +78,8 @@ export default defineComponent({
const { option, head } = source const { option, head } = source
tableHead.value = head tableHead.value = head
tableSource.value = getTableData(head, option) tableSource.value = getTableData(head, option)
getChartData(option, head) // getChartData(option, head)
getChartData(option)
}, },
{ {
immediate: true, immediate: true,

View File

@@ -278,7 +278,8 @@ export default {
} }
// copyConfig.value.config[field] = e.target.value; // copyConfig.value.config[field] = e.target.value;
if (copyConfig.value.config[field] === props.config.config[field]) return; if (copyConfig.value.config[field] === props.config.config[field]) return;
updateConfig(copyConfig.value); // updateConfig(copyConfig.value);
updateConfig();
}; };
return { return {