feat: detect unsave and confirmation
This commit is contained in:
parent
64a9df2613
commit
71d8b8b06c
5 changed files with 115 additions and 10 deletions
|
|
@ -99,6 +99,11 @@ export default {
|
|||
invalid: 'Invalid value.',
|
||||
invalidCustomeMessage: 'Invalid value. {msg}',
|
||||
},
|
||||
warning: {
|
||||
title: 'Warning {msg}',
|
||||
unsave:
|
||||
'You have unsaved changes. Are you sure you want to close this window?',
|
||||
},
|
||||
},
|
||||
customer: {
|
||||
form: {
|
||||
|
|
|
|||
|
|
@ -100,6 +100,11 @@ export default {
|
|||
invalid: 'ค่าที่ไม่ถูกต้อง',
|
||||
invalidCustomeMessage: 'ค่าที่ไม่ถูกต้อง {msg}',
|
||||
},
|
||||
warning: {
|
||||
title: 'แจ้งเตือน {msg}',
|
||||
unsave:
|
||||
'คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก คุณต้องการปิดหน้าต่างนี้หรือไม่',
|
||||
},
|
||||
},
|
||||
customer: {
|
||||
form: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue