|
@@ -76,9 +76,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
onDel(data){
|
|
|
- this.$confirm('确定删除此优势劣势信息吗?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
+ this.$confirm(this.$t('确定删除此优势劣势信息吗?'), this.$t('提示'), {
|
|
|
+ confirmButtonText: this.$t('确定'),
|
|
|
+ cancelButtonText: this.$t('取消'),
|
|
|
type: 'warning'
|
|
|
}).then(async () => {
|
|
|
const res = await this.$api.requested({
|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
}).catch(() => {
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
- message: '已取消删除'
|
|
|
+ message: this.$t('已取消删除')
|
|
|
});
|
|
|
});
|
|
|
},
|