fix: 去除打印

This commit is contained in:
@changcode
2021-07-05 17:02:30 +08:00
parent b1732cd538
commit c4c8a7205b
3 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ export default {
mounted () {
if( this.isEdit ) {
window.onbeforeunload = () => {
return window.confirm("确认操作吗?")
return "确认离开当前页面吗?未保存的数据将会丢失"
}
}
},