fix: a bug that if close the plugin dialog not by the cancel button, we can never open a new one (#297)
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"