建议给所有弹窗添加 "close-on-click-modal":!1属性
<p>经常因为点到弹窗外关闭了窗口,导致没保存。</p><p>目前我的临时解决办法是直接替换了编译后的js文件的文本</p><p>替换</p><p>`<span style="color: rgb(106, 153, 85); background-color: rgb(30, 30, 30); font-family: "Cascadia Code", "Dank Mono", "Fira Code Light", Consolas, "Courier New", monospace; white-space: pre; --darkreader-inline-color: #86b173; --darkreader-inline-bgcolor: #171819;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor="">("el-dialog",{attrs:{</span>` -> `<span style="color: rgb(106, 153, 85); background-color: rgb(30, 30, 30); font-family: "Cascadia Code", "Dank Mono", "Fira Code Light", Consolas, "Courier New", monospace; white-space: pre; --darkreader-inline-color: #86b173; --darkreader-inline-bgcolor: #171819;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor="">("el-dialog",{attrs:{"close-on-click-modal":!1,</span>`</p>
收藏(0)
分享
相关标签:
注意:本文归作者所有,未经作者允许,不得转载