This commit is contained in:
lb
2023-03-14 16:17:03 +08:00
parent df9a9a04da
commit 183335f9fe
4 changed files with 22 additions and 147 deletions

View File

@@ -81,6 +81,10 @@ export default {
type: Object,
default: () => null,
},
triggerUpdate: {
type: String,
default: ''
}
},
computed: {
dialogType() {
@@ -91,6 +95,14 @@ export default {
console.log("list view with ehad activated..........");
this.refreshLayoutKey = this.layoutTable();
},
watch: {
triggerUpdate(val, oldVal) {
if (val && val !== oldVal) {
// get list
this.getList()
}
}
},
data() {
return {
DIALOG_WITH_MENU,