refactor(视图): 富文本视图点击编辑按钮文本区域进入编辑状态
This commit is contained in:
parent
0951a31a0b
commit
b7f29ce38c
@ -145,7 +145,7 @@
|
||||
:target="curComponent.hyperlinks.openMode "
|
||||
:href="curComponent.hyperlinks.content "
|
||||
>
|
||||
<i class="icon iconfont icon-com-jump" />
|
||||
<i class="icon iconfont icon-com-jump"/>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
@ -193,7 +193,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
import {mapState} from 'vuex'
|
||||
import bus from '@/utils/bus'
|
||||
import SettingMenu from '@/components/canvas/components/editor/SettingMenu'
|
||||
import LinkageField from '@/components/canvas/components/editor/LinkageField'
|
||||
@ -202,13 +202,13 @@ import FieldsList from '@/components/canvas/components/editor/FieldsList'
|
||||
import LinkJumpSet from '@/views/panel/linkJumpSet'
|
||||
import Background from '@/views/background/index'
|
||||
import MapLayerController from '@/views/chart/components/map/MapLayerController'
|
||||
import { uploadFileResult } from '@/api/staticResource/staticResource'
|
||||
import {uploadFileResult} from '@/api/staticResource/staticResource'
|
||||
import eventBus from '@/components/canvas/utils/eventBus'
|
||||
import { hasDataPermission } from '@/utils/permission'
|
||||
import { exportExcelDownload } from '@/components/canvas/utils/utils'
|
||||
import {hasDataPermission} from '@/utils/permission'
|
||||
import {exportExcelDownload} from '@/components/canvas/utils/utils'
|
||||
|
||||
export default {
|
||||
components: { Background, LinkJumpSet, FieldsList, SettingMenu, LinkageField, MapLayerController },
|
||||
components: {Background, LinkJumpSet, FieldsList, SettingMenu, LinkageField, MapLayerController},
|
||||
|
||||
props: {
|
||||
canvasId: {
|
||||
@ -467,7 +467,7 @@ export default {
|
||||
}
|
||||
},
|
||||
showViewDetails(openType = 'details') {
|
||||
this.$emit('showViewDetails', { openType: openType })
|
||||
this.$emit('showViewDetails', {openType: openType})
|
||||
},
|
||||
exportExcelDownload() {
|
||||
exportExcelDownload(this.chart)
|
||||
|
||||
@ -164,6 +164,7 @@ export default {
|
||||
this.drawLeft = 'none'
|
||||
this.drawRight = 'auto'
|
||||
}
|
||||
this.setEdit()
|
||||
},
|
||||
viewInit() {
|
||||
bus.$on('fieldSelect-' + this.element.propValue.viewId, this.fieldSelect)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user