NEZ-2274 feat:图表同步操作 增加遮罩层避免用户重复操作
This commit is contained in:
@@ -505,9 +505,9 @@ export default {
|
||||
this.rightBox.chartTemp.show = true
|
||||
},
|
||||
chartBySync () {
|
||||
this.panelTabLoading = true
|
||||
this.$store.dispatch('dispatchHomeLoading', true)
|
||||
this.$post('visual/panel/chart/syncTmpl', { panelId: this.showPanel.id }).then(res => {
|
||||
this.panelTabLoading = false
|
||||
this.$store.dispatch('dispatchHomeLoading', false)
|
||||
if (res.code === 200) {
|
||||
this.getData(this.filter)
|
||||
this.$message.success(this.$t('tip.syncSuccess'))
|
||||
|
||||
Reference in New Issue
Block a user