forked from github/dataease
Merge pull request #3613 from dataease/pr@dev@fix_mobile
fix(移动端): 修复移动端放大不显示问题
This commit is contained in:
commit
1f409baab4
@ -173,7 +173,7 @@
|
|||||||
:append-to-body="true"
|
:append-to-body="true"
|
||||||
:destroy-on-close="true"
|
:destroy-on-close="true"
|
||||||
>
|
>
|
||||||
<UserViewMobileDialog
|
<user-view-mobile-dialog
|
||||||
v-if="mobileChartDetailsVisible"
|
v-if="mobileChartDetailsVisible"
|
||||||
:canvas-style-data="canvasStyleData"
|
:canvas-style-data="canvasStyleData"
|
||||||
:chart="showChartInfo"
|
:chart="showChartInfo"
|
||||||
@ -211,10 +211,11 @@ import DeRichTextView from '@/components/canvas/custom-component/DeRichTextView'
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { formatterItem, valueFormatter } from '@/views/chart/chart/formatter'
|
import { formatterItem, valueFormatter } from '@/views/chart/chart/formatter'
|
||||||
import UserViewDialog from '@/components/canvas/custom-component/UserViewDialog'
|
import UserViewDialog from '@/components/canvas/custom-component/UserViewDialog'
|
||||||
|
import UserViewMobileDialog from '@/components/canvas/custom-component/UserViewMobileDialog'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'UserView',
|
name: 'UserView',
|
||||||
components: { UserViewDialog, DeRichTextView, LabelNormalText, PluginCom, ChartComponentS2, EditBarView, ChartComponent, TableNormal, LabelNormal, DrillPath, ChartComponentG2 },
|
components: { UserViewMobileDialog, UserViewDialog, DeRichTextView, LabelNormalText, PluginCom, ChartComponentS2, EditBarView, ChartComponent, TableNormal, LabelNormal, DrillPath, ChartComponentG2 },
|
||||||
props: {
|
props: {
|
||||||
canvasId: {
|
canvasId: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -807,7 +808,6 @@ export default {
|
|||||||
this.showChartInfo = this.chart
|
this.showChartInfo = this.chart
|
||||||
this.showChartTableInfo = tableChart
|
this.showChartTableInfo = tableChart
|
||||||
this.showChartInfoType = params.openType
|
this.showChartInfoType = params.openType
|
||||||
this.chartDetailsVisible = true
|
|
||||||
if (this.terminal === 'pc') {
|
if (this.terminal === 'pc') {
|
||||||
this.chartDetailsVisible = true
|
this.chartDetailsVisible = true
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user