参数模板新增中英文切换

This commit is contained in:
zyx.net
2023-09-07 16:49:05 +08:00
parent 7336ff3e0f
commit 39e68ee620
@@ -120,7 +120,7 @@ export default {
}, },
addModel() { addModel() {
this.visible = true this.visible = true
this.title = '新增' this.title = this.$t('newlyAdded')
this.formInline = {} this.formInline = {}
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['ruleForm'].clearValidate() this.$refs['ruleForm'].clearValidate()
@@ -128,7 +128,7 @@ export default {
}, },
editModel(value) { editModel(value) {
this.visible = true this.visible = true
this.title = '编辑' this.title = this.$t('edit')
this.$nextTick(() => { this.$nextTick(() => {
this.formInline = value this.formInline = value
this.$refs['ruleForm'].clearValidate() this.$refs['ruleForm'].clearValidate()