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')"
:visible.sync="dialogVisible"
custom-class="asset-select-dialog"
width="70%"
width="80vw"
top="1vh"
@confirm="handleConfirm"
@cancel="handleCancel"
@@ -192,7 +192,7 @@ export default {
.el-dialog__wrapper ::v-deep .el-dialog__body{
padding: 5px 10px;
}
.page ::v-deep .treebox{
.page ::v-deep .treebox {
height: inherit !important;
}
.asset-select-dialog >>> .transition-box:first-child {

View File

@@ -1,7 +1,7 @@
<template>
<el-collapse-transition>
<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
:is="component"
ref="AutoDataZTree"
@@ -132,4 +132,7 @@ export default {
overflow: auto;
/*border-right: solid 1px red;*/
}
.transition-box.left {
background: #f3f3f3;
}
</style>

View File

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

View File

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