updated Multi Language for a few pages

This commit is contained in:
Marvin Zhang
2019-03-27 12:35:22 +08:00
parent 3af510a417
commit d44e5d2518
13 changed files with 118 additions and 75 deletions

View File

@@ -166,9 +166,9 @@ export default {
this.$store.dispatch('task/getTaskList')
},
onRemove (row) {
this.$confirm('Are you sure to delete this task?', 'Notification', {
confirmButtonText: 'Confirm',
cancelButtonText: 'Cancel',
this.$confirm(this.$t('Are you sure to delete this task?'), this.$t('Notification'), {
confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'),
type: 'warning'
}).then(() => {
this.$store.dispatch('task/deleteTask', row._id)