update i18n

This commit is contained in:
2022-09-01 15:01:25 +08:00
parent 666059af6e
commit 70303f3f06
54 changed files with 642 additions and 532 deletions

View File

@@ -48,6 +48,7 @@
</template>
<script>
import i18n from '@/i18n'
import BaseTable from '@/components/base-table'
import { pick } from 'lodash/object'
@@ -200,9 +201,9 @@ export default {
deleteHandle(id) {
var ids = id ? [id] : []
this.$confirm(`确定对id=${ids.join(',')}进行${id ? '删除' : '批量删除'}操作?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
this.$confirm(`确定对id=${ids.join(',')}进行${id ? i18n.t('delete') : i18n.t('deleteBatch')}操作?`, '提示', {
confirmButtonText: i18n.t('confirm'),
cancelButtonText: i18n.t('cancel'),
type: 'warning'
}).then(() => {
this.$http({
@@ -281,4 +282,4 @@ export default {
.attr-form >>> .el-form .el-form-item__label {
padding: 0;
}
</style>
</style>