Nez-752 fix:修改切换数据源 数据没改变的问题

This commit is contained in:
zhangyu
2021-06-21 19:12:25 +08:00
parent 6ab540c440
commit 4c6890cfe8
2 changed files with 18 additions and 0 deletions

View File

@@ -41,6 +41,15 @@ export default {
nzBottomDataList,
operationLogTable
},
props: {
obj: Object
},
watch: {
obj (n) {
this.searchLabel = { userId: n.id }
this.getTableData()
}
},
data () {
return {
url: 'sys/log',

View File

@@ -43,6 +43,15 @@ export default {
nzBottomDataList,
terminalLogTable
},
props: {
obj: Object
},
watch: {
obj (n) {
this.searchLabel = { userId: n.id }
this.getTableData()
}
},
data () {
return {
url: 'terminal/session',