forked from github/dataease
fix: 点击编辑没反应 报错修复
This commit is contained in:
parent
ea3ea4d47c
commit
4cfc07a10b
@ -44,7 +44,6 @@
|
|||||||
@resizeView="resizeView"
|
@resizeView="resizeView"
|
||||||
@linkJumpSet="linkJumpSet"
|
@linkJumpSet="linkJumpSet"
|
||||||
@boardSet="boardSet"
|
@boardSet="boardSet"
|
||||||
@fieldSelect="fieldSelect"
|
|
||||||
/>
|
/>
|
||||||
<mobile-check-bar
|
<mobile-check-bar
|
||||||
v-if="mobileCheckBarShow"
|
v-if="mobileCheckBarShow"
|
||||||
|
@ -200,7 +200,7 @@ export default {
|
|||||||
},
|
},
|
||||||
sourceElement: {
|
sourceElement: {
|
||||||
type: Object,
|
type: Object,
|
||||||
required: true
|
default: () => {}
|
||||||
},
|
},
|
||||||
element: {
|
element: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@ -433,6 +433,7 @@ export default {
|
|||||||
this.$emit('resizeView')
|
this.$emit('resizeView')
|
||||||
},
|
},
|
||||||
edit() {
|
edit() {
|
||||||
|
console.log('this.curComponent.type', this.curComponent.type)
|
||||||
if (this.curComponent.type === 'custom') {
|
if (this.curComponent.type === 'custom') {
|
||||||
bus.$emit('component-dialog-edit', 'update')
|
bus.$emit('component-dialog-edit', 'update')
|
||||||
} else if (this.curComponent.type === 'custom-button') {
|
} else if (this.curComponent.type === 'custom-button') {
|
||||||
|
@ -811,8 +811,8 @@ export default {
|
|||||||
},
|
},
|
||||||
initEvents() {
|
initEvents() {
|
||||||
bus.$on('component-on-drag', this.componentOnDrag)
|
bus.$on('component-on-drag', this.componentOnDrag)
|
||||||
// bus.$on('component-dialog-edit', this.editDialog)
|
bus.$on('component-dialog-edit', this.editDialog)
|
||||||
// bus.$on('button-dialog-edit', this.editButtonDialog)
|
bus.$on('button-dialog-edit', this.editButtonDialog)
|
||||||
bus.$on('component-dialog-style', this.componentDialogStyle)
|
bus.$on('component-dialog-style', this.componentDialogStyle)
|
||||||
bus.$on('previewFullScreenClose', this.previewFullScreenClose)
|
bus.$on('previewFullScreenClose', this.previewFullScreenClose)
|
||||||
bus.$on('change_panel_right_draw', this.changeRightDrawOpen)
|
bus.$on('change_panel_right_draw', this.changeRightDrawOpen)
|
||||||
|
@ -199,7 +199,7 @@
|
|||||||
:command="beforeClickEdit('folder', 'new', data, node)"
|
:command="beforeClickEdit('folder', 'new', data, node)"
|
||||||
>
|
>
|
||||||
<svg-icon icon-class="scene" />
|
<svg-icon icon-class="scene" />
|
||||||
<span>{{ $t('panel.groupAdd') }}</span>
|
<span style="margin-left: 5px">{{ $t('panel.groupAdd') }}</span>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
:command="beforeClickEdit('panel', 'new', data, node)"
|
:command="beforeClickEdit('panel', 'new', data, node)"
|
||||||
|
Loading…
Reference in New Issue
Block a user