dialog 标题

This commit is contained in:
吕金泽
2022-01-28 12:13:17 +08:00
parent 5d793cde19
commit 8b7a73d452
8 changed files with 94 additions and 136 deletions
@@ -53,7 +53,7 @@ export default {
name: 'UserForm',
components: { Treeselect },
props: {
dialogStatus: {
dialogTitle: {
type: String,
default: ''
}
@@ -105,7 +105,7 @@ export default {
this.dialogVisible = false
this.$notify({
title: '成功',
message: (this.dialogStatus === 'create' ? '创建' : '修改') + '成功',
message: this.dialogTitle + '成功',
type: 'success',
duration: 2000
})