diff --git a/src/components/attachmentDialog.vue b/src/components/attachmentDialog.vue new file mode 100644 index 0000000..02dd60b --- /dev/null +++ b/src/components/attachmentDialog.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/views/atomViews/ListViewWithHead.vue b/src/views/atomViews/ListViewWithHead.vue index e9dbeea..a2c58b7 100644 --- a/src/views/atomViews/ListViewWithHead.vue +++ b/src/views/atomViews/ListViewWithHead.vue @@ -44,6 +44,9 @@ :dialog-visible.sync="carPayloadDialogVisible" :configs="carPayloadDialogConfigs" @refreshDataList="getList" /> + + + { + this.$refs["attachmentDialog"].init(); + }, 300); break; } case "view-blender-batch-details": { @@ -446,11 +456,12 @@ export default { if (shouldShowOverlay) this.overlayVisible = false; }) .catch((errMsg) => { - errMsg !== 'cancel' && this.$message({ - message: errMsg, - type: "error", - duration: 1500, - }); + errMsg !== "cancel" && + this.$message({ + message: errMsg, + type: "error", + duration: 1500, + }); if (shouldShowOverlay) this.overlayVisible = false; }); break;