diff --git a/src/main.ts b/src/main.ts index f40059e..29a5ee5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,6 +32,10 @@ VXETable.config({ zIndex: 999999 }); +// 修改 el-dialog 默认点击遮照为不关闭 +import { ElDialog } from 'element-plus'; +ElDialog.props.closeOnClickModal.default = false; + const app = createApp(App); app.use(ElementIcons); diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue index 3ef8bd0..e14d6e6 100644 --- a/src/views/system/oss/index.vue +++ b/src/views/system/oss/index.vue @@ -5,16 +5,13 @@ - + - + - +