@@ -43,8 +43,9 @@ class DonMessage {
}
-// ...
-
+// 修改默认属性
+ElementUI.Dialog.props.closeOnClickModal.default = false;
+ElementUI.Dialog.props.destroyOnClose.default = true;
Vue.use(ElementUI)
// 命名根据需要,DonMessage只是在文章中使用
Vue.prototype.$message = new DonMessage()