فهرست منبع

0909 11:07

111
mo 4 سال پیش
والد
کامیت
9f2857535a
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/main.js

+ 3 - 2
src/main.js

@@ -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()