参数模板新增中英文切换
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user