This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
<v-expansion-panels focusable>
|
||||
<ExtensionTags :dataListSelection="dataListSelection" />
|
||||
<ExtensionExport :dataListSelection="dataListSelection" />
|
||||
<ExtensionDelete :dataListSelection="dataListSelection" />
|
||||
<ExtensionDelete
|
||||
v-on:ext-close-refresh="close({ refresh: true })"
|
||||
:dataListSelection="dataListSelection"
|
||||
/>
|
||||
</v-expansion-panels>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
@@ -49,6 +52,8 @@ export default {
|
||||
}`;
|
||||
},
|
||||
open(dls) {
|
||||
// console.log("OPEN", dls);
|
||||
// this.$on("ext-close-refresh", this.close({ refresh: true }));
|
||||
this.dataListSelection = dls;
|
||||
this.isVisible = true;
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -56,9 +61,10 @@ export default {
|
||||
this.reject = reject;
|
||||
});
|
||||
},
|
||||
close() {
|
||||
close(ret) {
|
||||
//this.$off("ext-close-refresh");
|
||||
this.isVisible = false;
|
||||
this.resolve(null);
|
||||
this.resolve(ret);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user