update 完成设备页面的国际化
This commit is contained in:
@@ -218,8 +218,8 @@ export default {
|
||||
}
|
||||
},
|
||||
handleDeleteEq(id) {
|
||||
this.$confirm(`确定删除这条记录吗?`, '提示', {
|
||||
// this.$confirm(`确定删除 ${id} 吗?`, '提示', {
|
||||
this.$confirm(`确定删除这条记录吗?`, i18n.t('prompt.title'), {
|
||||
// this.$confirm(`确定删除 ${id} 吗?`, i18n.t('prompt.title'), {
|
||||
confirmButtonText: i18n.t('confirm'),
|
||||
cancelButtonText: i18n.t('cancel'),
|
||||
type: 'warning'
|
||||
@@ -231,7 +231,7 @@ export default {
|
||||
}).then(({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
this.$message({
|
||||
message: '操作成功',
|
||||
message: i18n.t('prompt.success'),
|
||||
type: 'success',
|
||||
duration: 1500,
|
||||
onClose: () => {
|
||||
@@ -276,7 +276,7 @@ export default {
|
||||
}
|
||||
}).then(({ data: res }) => {
|
||||
this.$message.success({
|
||||
message: '操作成功',
|
||||
message: i18n.t('prompt.success'),
|
||||
onClose: () => {
|
||||
this.$emit('refreshDataList')
|
||||
this.visible = false
|
||||
|
||||
Reference in New Issue
Block a user