fix:修改panel lock 刷新就panel 就重置的问题
This commit is contained in:
@@ -527,6 +527,7 @@ export default {
|
||||
createSuccess (msg, data, params, panel) {
|
||||
this.filter.panelId = this.showPanel.id
|
||||
this.getData(this.filter)
|
||||
this.$store.dispatch('clearPanel')
|
||||
},
|
||||
// 获取数据,用在子页面
|
||||
getData (params) {
|
||||
@@ -866,6 +867,9 @@ export default {
|
||||
}, 100)
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.$store.dispatch('dispatchPanelLock', { flag: true })
|
||||
},
|
||||
watch: {
|
||||
'filter.searchName': function (n, o) {
|
||||
const temp = this
|
||||
|
||||
Reference in New Issue
Block a user