mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-28 01:53:53 +08:00
updata:智控台页面添加语言切换,支持中英繁
This commit is contained in:
@@ -264,7 +264,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$confirm(this.$t('modelConfig.confirmBatchDelete'), this.$t('common.prompt'), {
|
this.$confirm(this.$t('modelConfig.confirmBatchDelete'), this.$t('message.info'), {
|
||||||
confirmButtonText: this.$t('common.confirm'),
|
confirmButtonText: this.$t('common.confirm'),
|
||||||
cancelButtonText: this.$t('common.cancel'),
|
cancelButtonText: this.$t('common.cancel'),
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
@@ -310,7 +310,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 删除单个模型
|
// 删除单个模型
|
||||||
deleteModel(model) {
|
deleteModel(model) {
|
||||||
this.$confirm(this.$t('modelConfig.confirmDelete'), this.$t('common.prompt'), {
|
this.$confirm(this.$t('modelConfig.confirmDelete'), this.$t('message.info'), {
|
||||||
confirmButtonText: this.$t('common.confirm'),
|
confirmButtonText: this.$t('common.confirm'),
|
||||||
cancelButtonText: this.$t('common.cancel'),
|
cancelButtonText: this.$t('common.cancel'),
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
|
|||||||
Reference in New Issue
Block a user