Merge pull request #7756 from dataease/pr@dev-v2@refactor_dashboard

Pr@dev v2@refactor dashboard
This commit is contained in:
王嘉豪 2024-01-23 10:45:40 +08:00 committed by GitHub
commit fc26ead3fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -1385,7 +1385,7 @@ defineExpose({
:id="mainDomId"
ref="container"
class="editor"
:class="{ edit: isEdit }"
:class="{ edit: isEdit, 'dashboard-editor': dashboardActive }"
:style="editStyle"
@contextmenu="handleContextMenu"
>
@ -1482,6 +1482,9 @@ defineExpose({
</template>
<style lang="less" scoped>
.dashboard-editor {
min-height: 100%;
}
.editor {
position: relative;
margin: auto;

View File

@ -210,6 +210,7 @@ onMounted(() => {
:model="state.labelForm"
label-position="top"
>
<el-row v-if="batchOptStatus" style="margin-bottom: 12px"> 无其他公共属性 </el-row>
<el-space>
<el-form-item
class="form-item"