perf: 修复一些bug (#1538)

* perf: 修改一些翻译

* perf: 修改 权限联动

* perf: 修改消息订阅,站内信默认 check

* perf: 修改 bug

* perf: 修复一些bug

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot
2022-03-16 20:29:57 +08:00
committed by GitHub
parent 0d39277dae
commit 96eeda7b4f
4 changed files with 8 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
:title="this.$t('assets.Assets')" :title="this.$t('assets.Assets')"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
custom-class="asset-select-dialog" custom-class="asset-select-dialog"
width="70%" width="80vw"
top="1vh" top="1vh"
@confirm="handleConfirm" @confirm="handleConfirm"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -1,7 +1,7 @@
<template> <template>
<el-collapse-transition> <el-collapse-transition>
<div style="display: flex;justify-items: center; flex-wrap: nowrap;justify-content:space-between;"> <div style="display: flex;justify-items: center; flex-wrap: nowrap;justify-content:space-between;">
<div v-show="iShowTree" :style="iShowTree?('width:20%;'):('width:0;')" class="transition-box"> <div v-show="iShowTree" :style="iShowTree?('width:20%;'):('width:0;')" class="transition-box left">
<component <component
:is="component" :is="component"
ref="AutoDataZTree" ref="AutoDataZTree"
@@ -132,4 +132,7 @@ export default {
overflow: auto; overflow: auto;
/*border-right: solid 1px red;*/ /*border-right: solid 1px red;*/
} }
.transition-box.left {
background: #f3f3f3;
}
</style> </style>

View File

@@ -154,6 +154,7 @@ export default {
}, },
headerActions: { headerActions: {
hasCreate: false, hasCreate: false,
createInNewPage: true,
moreActionsType: 'primary', moreActionsType: 'primary',
moreCreates: { moreCreates: {
callback: (option) => { callback: (option) => {

View File

@@ -122,6 +122,7 @@ export default {
query: this.$route.query query: this.$route.query
} }
}, },
createInNewPage: true,
searchConfig: { searchConfig: {
url: '', url: '',
options: [ options: [