fix: 修改同步接口参数

This commit is contained in:
zhangyu
2021-11-25 10:55:46 +08:00
parent 43a6149dc1
commit 857392eef3

View File

@@ -560,7 +560,7 @@ export default {
this.panelLock = boolean
},
chartBySync () {
this.$post('visual/panel/chart/syncTmpl', { pid: this.obj.id }).then(res => {
this.$post('visual/panel/chart/syncTmpl', { panelId: this.showPanel.id }).then(res => {
if (res.code === 200) {
this.getTableData(this.obj.id)
this.$message.success(this.$t('tip.syncSuccess'))