|
|
@@ -162,7 +162,13 @@ export default {
|
|
|
|
|
|
},
|
|
|
clickCancel() {
|
|
|
- this.$router.go(-1)
|
|
|
+ this.$confirm('确认不保存已修改内容吗?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ this.$router.go(-1)
|
|
|
+ }).catch(() => {})
|
|
|
},
|
|
|
/**
|
|
|
* 重置
|