forked from github/dataease
fix: 规范语法,解决console报错
This commit is contained in:
parent
3da82ddd20
commit
fd0c7b5c99
@ -264,7 +264,7 @@ export default {
|
|||||||
return this.canvasStyleData.panel.resultCount
|
return this.canvasStyleData.panel.resultCount
|
||||||
},
|
},
|
||||||
innerPadding() {
|
innerPadding() {
|
||||||
return this.element.commonBackground.innerPadding || 0
|
return this.element.commonBackground && this.element.commonBackground.innerPadding || 0
|
||||||
},
|
},
|
||||||
...mapState([
|
...mapState([
|
||||||
'canvasStyleData',
|
'canvasStyleData',
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="chart.type" :label="$t('chart.space_split')" class="form-item">
|
<el-form-item v-show="chart.type" :label="$t('chart.space_split')" class="form-item">
|
||||||
<el-input-number v-model="sizeForm.spaceSplit" min="0" size="mini" @change="changeBarSizeCase" />
|
<el-input-number v-model="sizeForm.spaceSplit" :min="0" size="mini" @change="changeBarSizeCase" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="chart.type" :label="$t('chart.space_split')" class="form-item">
|
<el-form-item v-show="chart.type" :label="$t('chart.space_split')" class="form-item">
|
||||||
<el-input-number v-model="sizeForm.spaceSplit" min="0" size="mini" @change="changeBarSizeCase" />
|
<el-input-number v-model="sizeForm.spaceSplit" :min="0" size="mini" @change="changeBarSizeCase" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user