Skip to content

Commit

Permalink
title
Browse files Browse the repository at this point in the history
  • Loading branch information
szuprefix committed Jul 16, 2020
1 parent 9c3aa82 commit 1401413
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-django",
"version": "0.7.13",
"version": "0.7.14",
"description": "个人实验项目, 本框架的目标是借鉴并超越django admin的自动化思想, 实现UI前端的极简快速定制开发",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<el-menu class="el-menu-demo" mode="horizontal" router>
<el-menu-item index="/" class="brand">
<img :src="party.logo" height="32">
<b v-if="user.as_saas_worker">{{party.name}}</b>
<b>{{party.name}}</b>
{{system_name}}
</el-menu-item>
<el-submenu index="2" style="float:right">
Expand Down
6 changes: 5 additions & 1 deletion src/components/model/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,13 +358,17 @@
let avairableActions = {...this.avairableActions, ...bactions, ...ractions}
let topActions = ['refresh', 'create', ['download'].concat(Object.keys(bactions))]
let rowActions = ['edit'].concat(Object.keys(ractions)).concat([[this.parentMultipleRelationField ? 'removeFromParent' : 'delete']])
let title = this.model.config.verbose_name
if (this.parent) {
title = `${this.parent.title()}${title}`
}
return {
topActions,
rowActions,
// excelFormat: this.excelFormat,
permissionFunction: this.checkPermission,
dblClickAction: 'edit',
title: this.model.config.verbose_name,
title,
...this.$attrs,
baseQueries: this._baseQueries,
avairableActions,
Expand Down

0 comments on commit 1401413

Please sign in to comment.