forked from github/dataease
Merge pull request #7717 from dataease/pr@dev-v2@fix_screen
Pr@dev v2@fix screen
This commit is contained in:
commit
36e72a65d4
@ -180,6 +180,7 @@ function move(keyCode) {
|
||||
} else if (keyCode === downKey) {
|
||||
curComponent.value.style.top = ++curComponent.value.style.top
|
||||
}
|
||||
snapshotStore.recordSnapshotCache('key-move')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,14 +5,10 @@
|
||||
<el-row
|
||||
class="bottom-area-show"
|
||||
:class="{
|
||||
'create-area':
|
||||
['branchCreate', 'create'].includes(props.curPosition) ||
|
||||
!createAuth[template.templateType]
|
||||
'create-area': !createAuth[template.templateType]
|
||||
}"
|
||||
>
|
||||
<el-row class="demonstration">
|
||||
{{ template.title }}
|
||||
</el-row>
|
||||
<el-row class="demonstration"> {{ template.title }} </el-row>
|
||||
<el-row class="template-button">
|
||||
<el-button size="mini" style="width: calc(50% - 18px)" @click="templateInnerPreview">{{
|
||||
t('visualization.preview')
|
||||
|
@ -238,11 +238,13 @@ const toTemplateMarket = () => {
|
||||
}
|
||||
|
||||
const toTemplateMarketAdd = () => {
|
||||
const params = {
|
||||
curPosition: 'branchCreate',
|
||||
templateType: 'all'
|
||||
if (havePanelAuth.value || haveScreenAuth.value) {
|
||||
const params = {
|
||||
curPosition: 'branchCreate',
|
||||
templateType: 'all'
|
||||
}
|
||||
resourceCreateOpt.value.optInit(params)
|
||||
}
|
||||
resourceCreateOpt.value.optInit(params)
|
||||
}
|
||||
|
||||
fillCardInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user