You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/07/03 06:07:13 UTC

[incubator-apisix-dashboard] branch master-vue updated: fix: a bug that if close the plugin dialog not by the cancel button, we can never open a new one (#297)

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master-vue
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git


The following commit(s) were added to refs/heads/master-vue by this push:
     new 9da5fde  fix: a bug that if close the plugin dialog not by the cancel button, we can never open a new one (#297)
9da5fde is described below

commit 9da5fde689e121fb4979537481d61c9d8bce451f
Author: ko han <ha...@outlook.com>
AuthorDate: Fri Jul 3 14:07:03 2020 +0800

    fix: a bug that if close the plugin dialog not by the cancel button, we can never open a new one (#297)
---
 src/components/PluginDialog/index.vue | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/components/PluginDialog/index.vue b/src/components/PluginDialog/index.vue
index 14bf494..ea66a75 100644
--- a/src/components/PluginDialog/index.vue
+++ b/src/components/PluginDialog/index.vue
@@ -22,6 +22,9 @@
     <el-dialog
       :title="'Plugin ' + name + ' Edit'"
       :visible.sync="showDialog"
+      :before-close="onCancel"
+      :close-on-press-escape="false"
+      :close-on-click-modal="false"
     >
       <el-form
         v-if="schema.oneOf"