This commit is contained in:
2022-11-09 10:53:31 +08:00
parent 019f0bdd43
commit 27fc5ecc65
15 changed files with 368 additions and 189 deletions

View File

@@ -84,7 +84,7 @@ function CRUD(options) {
},
// 标题
get title() {
return this.add > CRUD.STATUS.NORMAL ? `新增${crud.title}` : this.edit > CRUD.STATUS.NORMAL ? `编辑${crud.title}` : crud.title
return this.add > CRUD.STATUS.NORMAL ? `新增${crud.title}` : this.edit > CRUD.STATUS.NORMAL ? `编辑${crud.title}` : this.view > CRUD.STATUS.NORMAL ? `${crud.title}详情` : crud.title
}
},
msg: {