From ebe515b70de93c286b5050d05c50c2d15a0541c4 Mon Sep 17 00:00:00 2001 From: Gj Date: Thu, 29 Jun 2023 16:17:16 +0800 Subject: [PATCH] fix: modal close attribute --- package.json | 2 +- packages/shell-chrome/manifest.json | 2 +- packages/vue-panels/src/views/interceptor/modal.vue | 2 ++ packages/vue-panels/src/views/redirector/modal.vue | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fff3221..0af15c3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ajax-proxy", "private": true, "description": "Modify your Ajax response to test", - "version": "2.2.4", + "version": "2.2.5", "scripts": { "dev": "pnpm -C ./packages/vue-panels serve", "watch": "run-p watch:lib watch:chrome", diff --git a/packages/shell-chrome/manifest.json b/packages/shell-chrome/manifest.json index 364e4df..13e411f 100644 --- a/packages/shell-chrome/manifest.json +++ b/packages/shell-chrome/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Ajax Proxy", - "version": "2.2.4", + "version": "2.2.5", "description": "Modify your Ajax response to test", "author": "Gj", "icons": { diff --git a/packages/vue-panels/src/views/interceptor/modal.vue b/packages/vue-panels/src/views/interceptor/modal.vue index 27d3a90..1c51906 100644 --- a/packages/vue-panels/src/views/interceptor/modal.vue +++ b/packages/vue-panels/src/views/interceptor/modal.vue @@ -4,6 +4,8 @@ :title="title" :visible.sync="isShow" :before-close="handleClose" + :close-on-click-modal="false" + :close-on-press-escape="false" top="1%" width="80%" > diff --git a/packages/vue-panels/src/views/redirector/modal.vue b/packages/vue-panels/src/views/redirector/modal.vue index c843343..5910dbd 100644 --- a/packages/vue-panels/src/views/redirector/modal.vue +++ b/packages/vue-panels/src/views/redirector/modal.vue @@ -4,6 +4,8 @@ :title="title" :visible.sync="isShow" :before-close="handleClose" + :close-on-click-modal="false" + :close-on-press-escape="false" top="1%" width="80%" >