fix:仪表板保存直接退出问题

This commit is contained in:
wangjiahao 2021-07-12 17:28:26 +08:00
parent e3ffac5d97
commit b682063992

View File

@ -53,7 +53,7 @@
</el-tooltip>
<span style="float: right;margin-left: 10px">
<el-button size="mini" :disabled="changeTimes===0||snapshotIndex===lastSaveSnapshotIndex" @click="save">
<el-button size="mini" :disabled="changeTimes===0||snapshotIndex===lastSaveSnapshotIndex" @click="save(false)">
{{ $t('commons.save') }}
</el-button>
<el-button size="mini" @click="closePanelEdit">
@ -260,6 +260,7 @@ export default {
},
save(withClose) {
debugger
//
const requestInfo = {
id: this.$store.state.panel.panelInfo.id,