updata:智控台页面添加语言切换,支持中英繁

This commit is contained in:
rainv123
2025-09-12 15:11:56 +08:00
parent 5b4381c257
commit f788e45bc1
4 changed files with 8 additions and 7 deletions
@@ -280,12 +280,12 @@ export default {
});
return;
}
this.$confirm(this.$t('paramManagement.confirmBatchDelete', { paramCount }), 'Warning', {
confirmButtonText: 'OK',
cancelButtonText: 'Cancel',
this.$confirm(this.$t('paramManagement.confirmBatchDelete', { paramCount }), this.$t('message.warning'), {
confirmButtonText: this.$t('button.ok'),
cancelButtonText: this.$t('button.cancel'),
type: 'warning'
}).then(() => {
Api.admin.deleteParams(paramIds, ({ data }) => {
Api.admin.deleteParam(paramIds, ({ data }) => {
if (data.code === 0) {
this.fetchParams();
this.$message.success({