forked from github/dataease
refactor(视图): 拖拽bug fix;标题编辑、图形属性编辑优化;
This commit is contained in:
parent
7a529b29d5
commit
4ab6a15c93
@ -25,8 +25,8 @@
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('chart.line_type')" class="form-item">
|
||||
<el-radio-group v-model="sizeForm.lineType" @change="changeBarSizeCase">
|
||||
<el-radio label="solid">{{ $t('chart.line_type_solid') }}</el-radio>
|
||||
<el-radio label="dashed">{{ $t('chart.line_type_dashed') }}</el-radio>
|
||||
<el-radio-button label="solid">{{ $t('chart.line_type_solid') }}</el-radio-button>
|
||||
<el-radio-button label="dashed">{{ $t('chart.line_type_dashed') }}</el-radio-button>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('chart.line_symbol')" class="form-item">
|
||||
|
@ -59,7 +59,7 @@
|
||||
<div style="border-bottom: 1px solid #E6E6E6;overflow-y:hidden;" class="padding-lr">
|
||||
<el-row>
|
||||
<span>{{ $t('chart.title') }}</span>
|
||||
<!-- <el-checkbox v-model="view.show" style="float: right;">{{$t('chart.show')}}</el-checkbox>-->
|
||||
<el-button style="float: right;padding: 0;margin: 8px 0 0 0;font-size: 12px;" type="text" @click="save">{{ $t('chart.confirm') }}</el-button>
|
||||
</el-row>
|
||||
<el-form>
|
||||
<el-form-item class="form-item">
|
||||
@ -69,7 +69,6 @@
|
||||
:placeholder="$t('chart.title')"
|
||||
prefix-icon="el-icon-search"
|
||||
clearable
|
||||
@blur="save"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@ -371,10 +370,10 @@ export default {
|
||||
const yItems = this.quota.filter(function(m) {
|
||||
return m.id === that.moveId
|
||||
})
|
||||
if (xItems && xItems.length > 0) {
|
||||
if (xItems && xItems.length > 1) {
|
||||
this.dimension.splice(e.newDraggableIndex, 1)
|
||||
}
|
||||
if (yItems && yItems.length > 0) {
|
||||
if (yItems && yItems.length > 1) {
|
||||
this.quota.splice(e.newDraggableIndex, 1)
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user